@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CacheAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Lists refresh cache information.
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. The TTL duration is in seconds.
Valid Values: 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. The TTL duration is in seconds.
Valid Values: 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. The TTL duration is in seconds.
Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days)
Valid Values: 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. The TTL duration is in seconds.
Valid Values: 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. The TTL duration is in seconds.
Valid Values: 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.