@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyServerlessCacheRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyServerlessCacheRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyServerlessCacheRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
CacheUsageLimits |
getCacheUsageLimits()
Modify the cache usage limit for the serverless cache.
|
String |
getDailySnapshotTime()
The daily time during which Elasticache begins taking a daily snapshot of the serverless cache.
|
String |
getDescription()
User provided description for the serverless cache.
|
Boolean |
getRemoveUserGroup()
The identifier of the UserGroup to be removed from association with the Redis OSS serverless cache.
|
List<String> |
getSecurityGroupIds()
The new list of VPC security groups to be associated with the serverless cache.
|
String |
getServerlessCacheName()
User-provided identifier for the serverless cache to be modified.
|
Integer |
getSnapshotRetentionLimit()
The number of days for which Elasticache retains automatic snapshots before deleting them.
|
String |
getUserGroupId()
The identifier of the UserGroup to be associated with the serverless cache.
|
int |
hashCode() |
Boolean |
isRemoveUserGroup()
The identifier of the UserGroup to be removed from association with the Redis OSS serverless cache.
|
void |
setCacheUsageLimits(CacheUsageLimits cacheUsageLimits)
Modify the cache usage limit for the serverless cache.
|
void |
setDailySnapshotTime(String dailySnapshotTime)
The daily time during which Elasticache begins taking a daily snapshot of the serverless cache.
|
void |
setDescription(String description)
User provided description for the serverless cache.
|
void |
setRemoveUserGroup(Boolean removeUserGroup)
The identifier of the UserGroup to be removed from association with the Redis OSS serverless cache.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The new list of VPC security groups to be associated with the serverless cache.
|
void |
setServerlessCacheName(String serverlessCacheName)
User-provided identifier for the serverless cache to be modified.
|
void |
setSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which Elasticache retains automatic snapshots before deleting them.
|
void |
setUserGroupId(String userGroupId)
The identifier of the UserGroup to be associated with the serverless cache.
|
String |
toString()
Returns a string representation of this object.
|
ModifyServerlessCacheRequest |
withCacheUsageLimits(CacheUsageLimits cacheUsageLimits)
Modify the cache usage limit for the serverless cache.
|
ModifyServerlessCacheRequest |
withDailySnapshotTime(String dailySnapshotTime)
The daily time during which Elasticache begins taking a daily snapshot of the serverless cache.
|
ModifyServerlessCacheRequest |
withDescription(String description)
User provided description for the serverless cache.
|
ModifyServerlessCacheRequest |
withRemoveUserGroup(Boolean removeUserGroup)
The identifier of the UserGroup to be removed from association with the Redis OSS serverless cache.
|
ModifyServerlessCacheRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
The new list of VPC security groups to be associated with the serverless cache.
|
ModifyServerlessCacheRequest |
withSecurityGroupIds(String... securityGroupIds)
The new list of VPC security groups to be associated with the serverless cache.
|
ModifyServerlessCacheRequest |
withServerlessCacheName(String serverlessCacheName)
User-provided identifier for the serverless cache to be modified.
|
ModifyServerlessCacheRequest |
withSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which Elasticache retains automatic snapshots before deleting them.
|
ModifyServerlessCacheRequest |
withUserGroupId(String userGroupId)
The identifier of the UserGroup to be associated with the serverless cache.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setServerlessCacheName(String serverlessCacheName)
User-provided identifier for the serverless cache to be modified.
serverlessCacheName
- User-provided identifier for the serverless cache to be modified.public String getServerlessCacheName()
User-provided identifier for the serverless cache to be modified.
public ModifyServerlessCacheRequest withServerlessCacheName(String serverlessCacheName)
User-provided identifier for the serverless cache to be modified.
serverlessCacheName
- User-provided identifier for the serverless cache to be modified.public void setDescription(String description)
User provided description for the serverless cache. Default = NULL, i.e. the existing description is not removed/modified. The description has a maximum length of 255 characters.
description
- User provided description for the serverless cache. Default = NULL, i.e. the existing description is not
removed/modified. The description has a maximum length of 255 characters.public String getDescription()
User provided description for the serverless cache. Default = NULL, i.e. the existing description is not removed/modified. The description has a maximum length of 255 characters.
public ModifyServerlessCacheRequest withDescription(String description)
User provided description for the serverless cache. Default = NULL, i.e. the existing description is not removed/modified. The description has a maximum length of 255 characters.
description
- User provided description for the serverless cache. Default = NULL, i.e. the existing description is not
removed/modified. The description has a maximum length of 255 characters.public void setCacheUsageLimits(CacheUsageLimits cacheUsageLimits)
Modify the cache usage limit for the serverless cache.
cacheUsageLimits
- Modify the cache usage limit for the serverless cache.public CacheUsageLimits getCacheUsageLimits()
Modify the cache usage limit for the serverless cache.
public ModifyServerlessCacheRequest withCacheUsageLimits(CacheUsageLimits cacheUsageLimits)
Modify the cache usage limit for the serverless cache.
cacheUsageLimits
- Modify the cache usage limit for the serverless cache.public void setRemoveUserGroup(Boolean removeUserGroup)
The identifier of the UserGroup to be removed from association with the Redis OSS serverless cache. Available for Redis OSS only. Default is NULL.
removeUserGroup
- The identifier of the UserGroup to be removed from association with the Redis OSS serverless cache.
Available for Redis OSS only. Default is NULL.public Boolean getRemoveUserGroup()
The identifier of the UserGroup to be removed from association with the Redis OSS serverless cache. Available for Redis OSS only. Default is NULL.
public ModifyServerlessCacheRequest withRemoveUserGroup(Boolean removeUserGroup)
The identifier of the UserGroup to be removed from association with the Redis OSS serverless cache. Available for Redis OSS only. Default is NULL.
removeUserGroup
- The identifier of the UserGroup to be removed from association with the Redis OSS serverless cache.
Available for Redis OSS only. Default is NULL.public Boolean isRemoveUserGroup()
The identifier of the UserGroup to be removed from association with the Redis OSS serverless cache. Available for Redis OSS only. Default is NULL.
public void setUserGroupId(String userGroupId)
The identifier of the UserGroup to be associated with the serverless cache. Available for Redis OSS only. Default is NULL - the existing UserGroup is not removed.
userGroupId
- The identifier of the UserGroup to be associated with the serverless cache. Available for Redis OSS only.
Default is NULL - the existing UserGroup is not removed.public String getUserGroupId()
The identifier of the UserGroup to be associated with the serverless cache. Available for Redis OSS only. Default is NULL - the existing UserGroup is not removed.
public ModifyServerlessCacheRequest withUserGroupId(String userGroupId)
The identifier of the UserGroup to be associated with the serverless cache. Available for Redis OSS only. Default is NULL - the existing UserGroup is not removed.
userGroupId
- The identifier of the UserGroup to be associated with the serverless cache. Available for Redis OSS only.
Default is NULL - the existing UserGroup is not removed.public List<String> getSecurityGroupIds()
The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.
securityGroupIds
- The new list of VPC security groups to be associated with the serverless cache. Populating this list means
the current VPC security groups will be removed. This security group is used to authorize traffic access
for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not
removed.public ModifyServerlessCacheRequest withSecurityGroupIds(String... securityGroupIds)
The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The new list of VPC security groups to be associated with the serverless cache. Populating this list means
the current VPC security groups will be removed. This security group is used to authorize traffic access
for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not
removed.public ModifyServerlessCacheRequest withSecurityGroupIds(Collection<String> securityGroupIds)
The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.
securityGroupIds
- The new list of VPC security groups to be associated with the serverless cache. Populating this list means
the current VPC security groups will be removed. This security group is used to authorize traffic access
for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not
removed.public void setSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which Elasticache retains automatic snapshots before deleting them. Available for Redis OSS and Serverless Memcached only. Default = NULL, i.e. the existing snapshot-retention-limit will not be removed or modified. The maximum value allowed is 35 days.
snapshotRetentionLimit
- The number of days for which Elasticache retains automatic snapshots before deleting them. Available for
Redis OSS and Serverless Memcached only. Default = NULL, i.e. the existing snapshot-retention-limit will
not be removed or modified. The maximum value allowed is 35 days.public Integer getSnapshotRetentionLimit()
The number of days for which Elasticache retains automatic snapshots before deleting them. Available for Redis OSS and Serverless Memcached only. Default = NULL, i.e. the existing snapshot-retention-limit will not be removed or modified. The maximum value allowed is 35 days.
public ModifyServerlessCacheRequest withSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which Elasticache retains automatic snapshots before deleting them. Available for Redis OSS and Serverless Memcached only. Default = NULL, i.e. the existing snapshot-retention-limit will not be removed or modified. The maximum value allowed is 35 days.
snapshotRetentionLimit
- The number of days for which Elasticache retains automatic snapshots before deleting them. Available for
Redis OSS and Serverless Memcached only. Default = NULL, i.e. the existing snapshot-retention-limit will
not be removed or modified. The maximum value allowed is 35 days.public void setDailySnapshotTime(String dailySnapshotTime)
The daily time during which Elasticache begins taking a daily snapshot of the serverless cache. Available for Redis OSS and Serverless Memcached only. The default is NULL, i.e. the existing snapshot time configured for the cluster is not removed.
dailySnapshotTime
- The daily time during which Elasticache begins taking a daily snapshot of the serverless cache. Available
for Redis OSS and Serverless Memcached only. The default is NULL, i.e. the existing snapshot time
configured for the cluster is not removed.public String getDailySnapshotTime()
The daily time during which Elasticache begins taking a daily snapshot of the serverless cache. Available for Redis OSS and Serverless Memcached only. The default is NULL, i.e. the existing snapshot time configured for the cluster is not removed.
public ModifyServerlessCacheRequest withDailySnapshotTime(String dailySnapshotTime)
The daily time during which Elasticache begins taking a daily snapshot of the serverless cache. Available for Redis OSS and Serverless Memcached only. The default is NULL, i.e. the existing snapshot time configured for the cluster is not removed.
dailySnapshotTime
- The daily time during which Elasticache begins taking a daily snapshot of the serverless cache. Available
for Redis OSS and Serverless Memcached only. The default is NULL, i.e. the existing snapshot time
configured for the cluster is not removed.public String toString()
toString
in class Object
Object.toString()
public ModifyServerlessCacheRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()