@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CacheAttributes extends Object implements Serializable, Cloneable, StructuredPojo
The refresh cache information for the file share or FSx file systems.
Constructor and Description |
---|
CacheAttributes() |
Modifier and Type | Method and Description |
---|---|
CacheAttributes |
clone() |
boolean |
equals(Object obj) |
Integer |
getCacheStaleTimeoutInSeconds()
Refreshes a file share's cache by using Time To Live (TTL).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCacheStaleTimeoutInSeconds(Integer cacheStaleTimeoutInSeconds)
Refreshes a file share's cache by using Time To Live (TTL).
|
String |
toString()
Returns a string representation of this object.
|
CacheAttributes |
withCacheStaleTimeoutInSeconds(Integer cacheStaleTimeoutInSeconds)
Refreshes a file share's cache by using Time To Live (TTL).
|
public void setCacheStaleTimeoutInSeconds(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)
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)
public Integer getCacheStaleTimeoutInSeconds()
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)
Valid Values:0, 300 to 2,592,000 seconds (5 minutes to 30 days)
public CacheAttributes withCacheStaleTimeoutInSeconds(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)
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)
public String toString()
toString
in class Object
Object.toString()
public CacheAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.