@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerlessCacheSnapshot extends Object implements Serializable, Cloneable
The resource representing a serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.
Constructor and Description |
---|
ServerlessCacheSnapshot() |
Modifier and Type | Method and Description |
---|---|
ServerlessCacheSnapshot |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The Amazon Resource Name (ARN) of a serverless cache snapshot.
|
String |
getBytesUsedForCache()
The total size of a serverless cache snapshot, in bytes.
|
Date |
getCreateTime()
The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot.
|
Date |
getExpiryTime()
The time that the serverless cache snapshot will expire.
|
String |
getKmsKeyId()
The ID of the Amazon Web Services Key Management Service (KMS) key of a serverless cache snapshot.
|
ServerlessCacheConfiguration |
getServerlessCacheConfiguration()
The configuration of the serverless cache, at the time the snapshot was taken.
|
String |
getServerlessCacheSnapshotName()
The identifier of a serverless cache snapshot.
|
String |
getSnapshotType()
The type of snapshot of serverless cache.
|
String |
getStatus()
The current status of the serverless cache.
|
int |
hashCode() |
void |
setARN(String aRN)
The Amazon Resource Name (ARN) of a serverless cache snapshot.
|
void |
setBytesUsedForCache(String bytesUsedForCache)
The total size of a serverless cache snapshot, in bytes.
|
void |
setCreateTime(Date createTime)
The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot.
|
void |
setExpiryTime(Date expiryTime)
The time that the serverless cache snapshot will expire.
|
void |
setKmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services Key Management Service (KMS) key of a serverless cache snapshot.
|
void |
setServerlessCacheConfiguration(ServerlessCacheConfiguration serverlessCacheConfiguration)
The configuration of the serverless cache, at the time the snapshot was taken.
|
void |
setServerlessCacheSnapshotName(String serverlessCacheSnapshotName)
The identifier of a serverless cache snapshot.
|
void |
setSnapshotType(String snapshotType)
The type of snapshot of serverless cache.
|
void |
setStatus(String status)
The current status of the serverless cache.
|
String |
toString()
Returns a string representation of this object.
|
ServerlessCacheSnapshot |
withARN(String aRN)
The Amazon Resource Name (ARN) of a serverless cache snapshot.
|
ServerlessCacheSnapshot |
withBytesUsedForCache(String bytesUsedForCache)
The total size of a serverless cache snapshot, in bytes.
|
ServerlessCacheSnapshot |
withCreateTime(Date createTime)
The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot.
|
ServerlessCacheSnapshot |
withExpiryTime(Date expiryTime)
The time that the serverless cache snapshot will expire.
|
ServerlessCacheSnapshot |
withKmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services Key Management Service (KMS) key of a serverless cache snapshot.
|
ServerlessCacheSnapshot |
withServerlessCacheConfiguration(ServerlessCacheConfiguration serverlessCacheConfiguration)
The configuration of the serverless cache, at the time the snapshot was taken.
|
ServerlessCacheSnapshot |
withServerlessCacheSnapshotName(String serverlessCacheSnapshotName)
The identifier of a serverless cache snapshot.
|
ServerlessCacheSnapshot |
withSnapshotType(String snapshotType)
The type of snapshot of serverless cache.
|
ServerlessCacheSnapshot |
withStatus(String status)
The current status of the serverless cache.
|
public void setServerlessCacheSnapshotName(String serverlessCacheSnapshotName)
The identifier of a serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.
serverlessCacheSnapshotName
- The identifier of a serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.public String getServerlessCacheSnapshotName()
The identifier of a serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.
public ServerlessCacheSnapshot withServerlessCacheSnapshotName(String serverlessCacheSnapshotName)
The identifier of a serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.
serverlessCacheSnapshotName
- The identifier of a serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.public void setARN(String aRN)
The Amazon Resource Name (ARN) of a serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.
aRN
- The Amazon Resource Name (ARN) of a serverless cache snapshot. Available for Redis OSS and Serverless
Memcached only.public String getARN()
The Amazon Resource Name (ARN) of a serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.
public ServerlessCacheSnapshot withARN(String aRN)
The Amazon Resource Name (ARN) of a serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.
aRN
- The Amazon Resource Name (ARN) of a serverless cache snapshot. Available for Redis OSS and Serverless
Memcached only.public void setKmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services Key Management Service (KMS) key of a serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.
kmsKeyId
- The ID of the Amazon Web Services Key Management Service (KMS) key of a serverless cache snapshot.
Available for Redis OSS and Serverless Memcached only.public String getKmsKeyId()
The ID of the Amazon Web Services Key Management Service (KMS) key of a serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.
public ServerlessCacheSnapshot withKmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services Key Management Service (KMS) key of a serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.
kmsKeyId
- The ID of the Amazon Web Services Key Management Service (KMS) key of a serverless cache snapshot.
Available for Redis OSS and Serverless Memcached only.public void setSnapshotType(String snapshotType)
The type of snapshot of serverless cache. Available for Redis OSS and Serverless Memcached only.
snapshotType
- The type of snapshot of serverless cache. Available for Redis OSS and Serverless Memcached only.public String getSnapshotType()
The type of snapshot of serverless cache. Available for Redis OSS and Serverless Memcached only.
public ServerlessCacheSnapshot withSnapshotType(String snapshotType)
The type of snapshot of serverless cache. Available for Redis OSS and Serverless Memcached only.
snapshotType
- The type of snapshot of serverless cache. Available for Redis OSS and Serverless Memcached only.public void setStatus(String status)
The current status of the serverless cache. Available for Redis OSS and Serverless Memcached only.
status
- The current status of the serverless cache. Available for Redis OSS and Serverless Memcached only.public String getStatus()
The current status of the serverless cache. Available for Redis OSS and Serverless Memcached only.
public ServerlessCacheSnapshot withStatus(String status)
The current status of the serverless cache. Available for Redis OSS and Serverless Memcached only.
status
- The current status of the serverless cache. Available for Redis OSS and Serverless Memcached only.public void setCreateTime(Date createTime)
The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot. Available for Redis OSS and Serverless Memcached only.
createTime
- The date and time that the source serverless cache's metadata and cache data set was obtained for the
snapshot. Available for Redis OSS and Serverless Memcached only.public Date getCreateTime()
The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot. Available for Redis OSS and Serverless Memcached only.
public ServerlessCacheSnapshot withCreateTime(Date createTime)
The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot. Available for Redis OSS and Serverless Memcached only.
createTime
- The date and time that the source serverless cache's metadata and cache data set was obtained for the
snapshot. Available for Redis OSS and Serverless Memcached only.public void setExpiryTime(Date expiryTime)
The time that the serverless cache snapshot will expire. Available for Redis OSS and Serverless Memcached only.
expiryTime
- The time that the serverless cache snapshot will expire. Available for Redis OSS and Serverless Memcached
only.public Date getExpiryTime()
The time that the serverless cache snapshot will expire. Available for Redis OSS and Serverless Memcached only.
public ServerlessCacheSnapshot withExpiryTime(Date expiryTime)
The time that the serverless cache snapshot will expire. Available for Redis OSS and Serverless Memcached only.
expiryTime
- The time that the serverless cache snapshot will expire. Available for Redis OSS and Serverless Memcached
only.public void setBytesUsedForCache(String bytesUsedForCache)
The total size of a serverless cache snapshot, in bytes. Available for Redis OSS and Serverless Memcached only.
bytesUsedForCache
- The total size of a serverless cache snapshot, in bytes. Available for Redis OSS and Serverless Memcached
only.public String getBytesUsedForCache()
The total size of a serverless cache snapshot, in bytes. Available for Redis OSS and Serverless Memcached only.
public ServerlessCacheSnapshot withBytesUsedForCache(String bytesUsedForCache)
The total size of a serverless cache snapshot, in bytes. Available for Redis OSS and Serverless Memcached only.
bytesUsedForCache
- The total size of a serverless cache snapshot, in bytes. Available for Redis OSS and Serverless Memcached
only.public void setServerlessCacheConfiguration(ServerlessCacheConfiguration serverlessCacheConfiguration)
The configuration of the serverless cache, at the time the snapshot was taken. Available for Redis OSS and Serverless Memcached only.
serverlessCacheConfiguration
- The configuration of the serverless cache, at the time the snapshot was taken. Available for Redis OSS and
Serverless Memcached only.public ServerlessCacheConfiguration getServerlessCacheConfiguration()
The configuration of the serverless cache, at the time the snapshot was taken. Available for Redis OSS and Serverless Memcached only.
public ServerlessCacheSnapshot withServerlessCacheConfiguration(ServerlessCacheConfiguration serverlessCacheConfiguration)
The configuration of the serverless cache, at the time the snapshot was taken. Available for Redis OSS and Serverless Memcached only.
serverlessCacheConfiguration
- The configuration of the serverless cache, at the time the snapshot was taken. Available for Redis OSS and
Serverless Memcached only.public String toString()
toString
in class Object
Object.toString()
public ServerlessCacheSnapshot clone()