Class CachedContent.Builder
-
- All Implemented Interfaces:
public abstract class CachedContent.BuilderBuilder for CachedContent.
-
-
Constructor Summary
Constructors Constructor Description CachedContent.Builder()
-
Method Summary
Modifier and Type Method Description abstract CachedContent.Buildername(String name)Setter for name. CachedContent.BuilderclearName()Clears the value of name field. abstract CachedContent.BuilderdisplayName(String displayName)Setter for displayName. CachedContent.BuilderclearDisplayName()Clears the value of displayName field. abstract CachedContent.Buildermodel(String model)Setter for model. CachedContent.BuilderclearModel()Clears the value of model field. abstract CachedContent.BuildercreateTime(Instant createTime)Setter for createTime. CachedContent.BuilderclearCreateTime()Clears the value of createTime field. abstract CachedContent.BuilderupdateTime(Instant updateTime)Setter for updateTime. CachedContent.BuilderclearUpdateTime()Clears the value of updateTime field. abstract CachedContent.BuilderexpireTime(Instant expireTime)Setter for expireTime. CachedContent.BuilderclearExpireTime()Clears the value of expireTime field. abstract CachedContent.BuilderusageMetadata(CachedContentUsageMetadata usageMetadata)Setter for usageMetadata. CachedContent.BuilderusageMetadata(CachedContentUsageMetadata.Builder usageMetadataBuilder)Setter for usageMetadata builder. CachedContent.BuilderclearUsageMetadata()Clears the value of usageMetadata field. abstract CachedContentbuild()-
-
Method Detail
-
name
abstract CachedContent.Builder name(String name)
Setter for name.
name: The server-generated resource name of the cached content.
-
clearName
@CanIgnoreReturnValue() CachedContent.Builder clearName()
Clears the value of name field.
-
displayName
abstract CachedContent.Builder displayName(String displayName)
Setter for displayName.
displayName: The user-generated meaningful display name of the cached content.
-
clearDisplayName
@CanIgnoreReturnValue() CachedContent.Builder clearDisplayName()
Clears the value of displayName field.
-
model
abstract CachedContent.Builder model(String model)
Setter for model.
model: The name of the publisher model to use for cached content.
-
clearModel
@CanIgnoreReturnValue() CachedContent.Builder clearModel()
Clears the value of model field.
-
createTime
abstract CachedContent.Builder createTime(Instant createTime)
Setter for createTime.
createTime: Creation time of the cache entry.
-
clearCreateTime
@CanIgnoreReturnValue() CachedContent.Builder clearCreateTime()
Clears the value of createTime field.
-
updateTime
abstract CachedContent.Builder updateTime(Instant updateTime)
Setter for updateTime.
updateTime: When the cache entry was last updated in UTC time.
-
clearUpdateTime
@CanIgnoreReturnValue() CachedContent.Builder clearUpdateTime()
Clears the value of updateTime field.
-
expireTime
abstract CachedContent.Builder expireTime(Instant expireTime)
Setter for expireTime.
expireTime: Expiration time of the cached content.
-
clearExpireTime
@CanIgnoreReturnValue() CachedContent.Builder clearExpireTime()
Clears the value of expireTime field.
-
usageMetadata
abstract CachedContent.Builder usageMetadata(CachedContentUsageMetadata usageMetadata)
Setter for usageMetadata.
usageMetadata: Metadata on the usage of the cached content.
-
usageMetadata
@CanIgnoreReturnValue() CachedContent.Builder usageMetadata(CachedContentUsageMetadata.Builder usageMetadataBuilder)
Setter for usageMetadata builder.
usageMetadata: Metadata on the usage of the cached content.
-
clearUsageMetadata
@CanIgnoreReturnValue() CachedContent.Builder clearUsageMetadata()
Clears the value of usageMetadata field.
-
build
abstract CachedContent build()
-
-
-
-