Class CachePointBlock
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CachePointBlock.Builder,CachePointBlock>
Defines a section of content to be cached for reuse in subsequent API calls.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CachePointBlock.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends CachePointBlock.Builder>final StringtoString()Returns a string representation of this object.final CacheTTLttl()Optional TTL duration for cache entries.final StringOptional TTL duration for cache entries.final CachePointTypetype()Specifies the type of cache point within the CachePointBlock.final StringSpecifies the type of cache point within the CachePointBlock.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
type
Specifies the type of cache point within the CachePointBlock.
If the service returns an enum value that is not available in the current SDK version,
typewill returnCachePointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies the type of cache point within the CachePointBlock.
- See Also:
-
typeAsString
Specifies the type of cache point within the CachePointBlock.
If the service returns an enum value that is not available in the current SDK version,
typewill returnCachePointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies the type of cache point within the CachePointBlock.
- See Also:
-
ttl
Optional TTL duration for cache entries. When specified, enables extended TTL caching with the specified duration. When omitted, uses
typevalue for caching behavior.If the service returns an enum value that is not available in the current SDK version,
ttlwill returnCacheTTL.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromttlAsString().- Returns:
- Optional TTL duration for cache entries. When specified, enables extended TTL caching with the specified
duration. When omitted, uses
typevalue for caching behavior. - See Also:
-
ttlAsString
Optional TTL duration for cache entries. When specified, enables extended TTL caching with the specified duration. When omitted, uses
typevalue for caching behavior.If the service returns an enum value that is not available in the current SDK version,
ttlwill returnCacheTTL.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromttlAsString().- Returns:
- Optional TTL duration for cache entries. When specified, enables extended TTL caching with the specified
duration. When omitted, uses
typevalue for caching behavior. - See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CachePointBlock.Builder,CachePointBlock>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-