Class CacheAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.storagegateway.model.CacheAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CacheAttributes.Builder,CacheAttributes>
@Generated("software.amazon.awssdk:codegen") public final class CacheAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CacheAttributes.Builder,CacheAttributes>
The refresh cache information for the file share or FSx file systems.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCacheAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CacheAttributes.Builderbuilder()IntegercacheStaleTimeoutInSeconds()Refreshes a file share's cache by using Time To Live (TTL).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CacheAttributes.Builder>serializableBuilderClass()CacheAttributes.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
cacheStaleTimeoutInSeconds
public final Integer cacheStaleTimeoutInSeconds()
Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket or Amazon FSx file system. The TTL duration is in seconds.
Valid Values:0, 300 to 2,592,000 seconds (5 minutes to 30 days)
- Returns:
- Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last
refresh after which access to the directory would cause the file gateway to first refresh that
directory's contents from the Amazon S3 bucket or Amazon FSx file system. The TTL duration is in
seconds.
Valid Values:0, 300 to 2,592,000 seconds (5 minutes to 30 days)
-
toBuilder
public CacheAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CacheAttributes.Builder,CacheAttributes>
-
builder
public static CacheAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends CacheAttributes.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-