Class CachedContentName.Builder (1.40.0)

publicstaticclass CachedContentName.Builder

Builder for projects/{project}/locations/{location}/cachedContents/{cached_content}.

Inheritance

java.lang.Object > CachedContentName.Builder

Constructors

Builder()

protectedBuilder()

Methods

build()

publicCachedContentNamebuild()
Returns
Type Description
CachedContentName

getCachedContent()

publicStringgetCachedContent()
Returns
Type Description
String

getLocation()

publicStringgetLocation()
Returns
Type Description
String

getProject()

publicStringgetProject()
Returns
Type Description
String

setCachedContent(String cachedContent)

publicCachedContentName.BuildersetCachedContent(StringcachedContent)
Parameter
Name Description
cachedContent String
Returns
Type Description
CachedContentName.Builder

setLocation(String location)

publicCachedContentName.BuildersetLocation(Stringlocation)
Parameter
Name Description
location String
Returns
Type Description
CachedContentName.Builder

setProject(String project)

publicCachedContentName.BuildersetProject(Stringproject)
Parameter
Name Description
project String
Returns
Type Description
CachedContentName.Builder

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.