Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class ModifyCacheClusterRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticache.model.ModifyCacheClusterRequest
All Implemented Interfaces:
Serializable

public class ModifyCacheClusterRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ModifyCacheCluster operation.

Modifies the Cache Cluster settings. You can change one or more Cache Cluster configuration parameters by specifying the parameters and the new values in the request.

See Also:
AmazonElastiCache.modifyCacheCluster(ModifyCacheClusterRequest), Serialized Form

Constructor Summary
ModifyCacheClusterRequest()
          Default constructor for a new ModifyCacheClusterRequest object.
ModifyCacheClusterRequest(String cacheClusterId)
          Constructs a new ModifyCacheClusterRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getApplyImmediately()
          Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster.
 Boolean getAutoMinorVersionUpgrade()
          Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.
 String getCacheClusterId()
          The Cache Cluster identifier.
 List<String> getCacheNodeIdsToRemove()
          The list of Cache Node IDs to be removed.
 String getCacheParameterGroupName()
          The name of the Cache Parameter Group to apply to this Cache Cluster.
 List<String> getCacheSecurityGroupNames()
          A list of Cache Security Group Names to authorize on this Cache Cluster.
 String getEngineVersion()
          The version of the cache engine to upgrade this cluster to.
 String getNotificationTopicArn()
          The Amazon Resource Name (ARN) of the SNS topic to which notifications will be sent.
 String getNotificationTopicStatus()
          The status of the Amazon SNS notification topic.
 Integer getNumCacheNodes()
          The number of Cache Nodes the Cache Cluster should have.
 String getPreferredMaintenanceWindow()
          The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage.
 List<String> getSecurityGroupIds()
          Specifies the VPC Security Groups associated with the Cache Cluster.
 int hashCode()
           
 Boolean isApplyImmediately()
          Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster.
 Boolean isAutoMinorVersionUpgrade()
          Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.
 void setApplyImmediately(Boolean applyImmediately)
          Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster.
 void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
          Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.
 void setCacheClusterId(String cacheClusterId)
          The Cache Cluster identifier.
 void setCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
          The list of Cache Node IDs to be removed.
 void setCacheParameterGroupName(String cacheParameterGroupName)
          The name of the Cache Parameter Group to apply to this Cache Cluster.
 void setCacheSecurityGroupNames(Collection<String> cacheSecurityGroupNames)
          A list of Cache Security Group Names to authorize on this Cache Cluster.
 void setEngineVersion(String engineVersion)
          The version of the cache engine to upgrade this cluster to.
 void setNotificationTopicArn(String notificationTopicArn)
          The Amazon Resource Name (ARN) of the SNS topic to which notifications will be sent.
 void setNotificationTopicStatus(String notificationTopicStatus)
          The status of the Amazon SNS notification topic.
 void setNumCacheNodes(Integer numCacheNodes)
          The number of Cache Nodes the Cache Cluster should have.
 void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
          The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage.
 void setSecurityGroupIds(Collection<String> securityGroupIds)
          Specifies the VPC Security Groups associated with the Cache Cluster.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ModifyCacheClusterRequest withApplyImmediately(Boolean applyImmediately)
          Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster.
 ModifyCacheClusterRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
          Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.
 ModifyCacheClusterRequest withCacheClusterId(String cacheClusterId)
          The Cache Cluster identifier.
 ModifyCacheClusterRequest withCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
          The list of Cache Node IDs to be removed.
 ModifyCacheClusterRequest withCacheNodeIdsToRemove(String... cacheNodeIdsToRemove)
          The list of Cache Node IDs to be removed.
 ModifyCacheClusterRequest withCacheParameterGroupName(String cacheParameterGroupName)
          The name of the Cache Parameter Group to apply to this Cache Cluster.
 ModifyCacheClusterRequest withCacheSecurityGroupNames(Collection<String> cacheSecurityGroupNames)
          A list of Cache Security Group Names to authorize on this Cache Cluster.
 ModifyCacheClusterRequest withCacheSecurityGroupNames(String... cacheSecurityGroupNames)
          A list of Cache Security Group Names to authorize on this Cache Cluster.
 ModifyCacheClusterRequest withEngineVersion(String engineVersion)
          The version of the cache engine to upgrade this cluster to.
 ModifyCacheClusterRequest withNotificationTopicArn(String notificationTopicArn)
          The Amazon Resource Name (ARN) of the SNS topic to which notifications will be sent.
 ModifyCacheClusterRequest withNotificationTopicStatus(String notificationTopicStatus)
          The status of the Amazon SNS notification topic.
 ModifyCacheClusterRequest withNumCacheNodes(Integer numCacheNodes)
          The number of Cache Nodes the Cache Cluster should have.
 ModifyCacheClusterRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
          The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage.
 ModifyCacheClusterRequest withSecurityGroupIds(Collection<String> securityGroupIds)
          Specifies the VPC Security Groups associated with the Cache Cluster.
 ModifyCacheClusterRequest withSecurityGroupIds(String... securityGroupIds)
          Specifies the VPC Security Groups associated with the Cache Cluster.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModifyCacheClusterRequest

public ModifyCacheClusterRequest()
Default constructor for a new ModifyCacheClusterRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


ModifyCacheClusterRequest

public ModifyCacheClusterRequest(String cacheClusterId)
Constructs a new ModifyCacheClusterRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
cacheClusterId - The Cache Cluster identifier. This value is stored as a lowercase string.
Method Detail

getCacheClusterId

public String getCacheClusterId()
The Cache Cluster identifier. This value is stored as a lowercase string.

Returns:
The Cache Cluster identifier. This value is stored as a lowercase string.

setCacheClusterId

public void setCacheClusterId(String cacheClusterId)
The Cache Cluster identifier. This value is stored as a lowercase string.

Parameters:
cacheClusterId - The Cache Cluster identifier. This value is stored as a lowercase string.

withCacheClusterId

public ModifyCacheClusterRequest withCacheClusterId(String cacheClusterId)
The Cache Cluster identifier. This value is stored as a lowercase string.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheClusterId - The Cache Cluster identifier. This value is stored as a lowercase string.
Returns:
A reference to this updated object so that method calls can be chained together.

getNumCacheNodes

public Integer getNumCacheNodes()
The number of Cache Nodes the Cache Cluster should have. If NumCacheNodes is greater than the existing number of Cache Nodes, Cache Nodes will be added. If NumCacheNodes is less than the existing number of Cache Nodes, Cache Nodes will be removed. When removing Cache Nodes, the Ids of the specific Cache Nodes to be removed must be supplied using the CacheNodeIdsToRemove parameter.

Returns:
The number of Cache Nodes the Cache Cluster should have. If NumCacheNodes is greater than the existing number of Cache Nodes, Cache Nodes will be added. If NumCacheNodes is less than the existing number of Cache Nodes, Cache Nodes will be removed. When removing Cache Nodes, the Ids of the specific Cache Nodes to be removed must be supplied using the CacheNodeIdsToRemove parameter.

setNumCacheNodes

public void setNumCacheNodes(Integer numCacheNodes)
The number of Cache Nodes the Cache Cluster should have. If NumCacheNodes is greater than the existing number of Cache Nodes, Cache Nodes will be added. If NumCacheNodes is less than the existing number of Cache Nodes, Cache Nodes will be removed. When removing Cache Nodes, the Ids of the specific Cache Nodes to be removed must be supplied using the CacheNodeIdsToRemove parameter.

Parameters:
numCacheNodes - The number of Cache Nodes the Cache Cluster should have. If NumCacheNodes is greater than the existing number of Cache Nodes, Cache Nodes will be added. If NumCacheNodes is less than the existing number of Cache Nodes, Cache Nodes will be removed. When removing Cache Nodes, the Ids of the specific Cache Nodes to be removed must be supplied using the CacheNodeIdsToRemove parameter.

withNumCacheNodes

public ModifyCacheClusterRequest withNumCacheNodes(Integer numCacheNodes)
The number of Cache Nodes the Cache Cluster should have. If NumCacheNodes is greater than the existing number of Cache Nodes, Cache Nodes will be added. If NumCacheNodes is less than the existing number of Cache Nodes, Cache Nodes will be removed. When removing Cache Nodes, the Ids of the specific Cache Nodes to be removed must be supplied using the CacheNodeIdsToRemove parameter.

Returns a reference to this object so that method calls can be chained together.

Parameters:
numCacheNodes - The number of Cache Nodes the Cache Cluster should have. If NumCacheNodes is greater than the existing number of Cache Nodes, Cache Nodes will be added. If NumCacheNodes is less than the existing number of Cache Nodes, Cache Nodes will be removed. When removing Cache Nodes, the Ids of the specific Cache Nodes to be removed must be supplied using the CacheNodeIdsToRemove parameter.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheNodeIdsToRemove

public List<String> getCacheNodeIdsToRemove()
The list of Cache Node IDs to be removed. This parameter is only valid when NumCacheNodes is less than the existing number of Cache Nodes. The number of Cache Node Ids supplied in this parameter must match the difference between the existing number of Cache Nodes in the cluster and the new NumCacheNodes requested.

Returns:
The list of Cache Node IDs to be removed. This parameter is only valid when NumCacheNodes is less than the existing number of Cache Nodes. The number of Cache Node Ids supplied in this parameter must match the difference between the existing number of Cache Nodes in the cluster and the new NumCacheNodes requested.

setCacheNodeIdsToRemove

public void setCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
The list of Cache Node IDs to be removed. This parameter is only valid when NumCacheNodes is less than the existing number of Cache Nodes. The number of Cache Node Ids supplied in this parameter must match the difference between the existing number of Cache Nodes in the cluster and the new NumCacheNodes requested.

Parameters:
cacheNodeIdsToRemove - The list of Cache Node IDs to be removed. This parameter is only valid when NumCacheNodes is less than the existing number of Cache Nodes. The number of Cache Node Ids supplied in this parameter must match the difference between the existing number of Cache Nodes in the cluster and the new NumCacheNodes requested.

withCacheNodeIdsToRemove

public ModifyCacheClusterRequest withCacheNodeIdsToRemove(String... cacheNodeIdsToRemove)
The list of Cache Node IDs to be removed. This parameter is only valid when NumCacheNodes is less than the existing number of Cache Nodes. The number of Cache Node Ids supplied in this parameter must match the difference between the existing number of Cache Nodes in the cluster and the new NumCacheNodes requested.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheNodeIdsToRemove - The list of Cache Node IDs to be removed. This parameter is only valid when NumCacheNodes is less than the existing number of Cache Nodes. The number of Cache Node Ids supplied in this parameter must match the difference between the existing number of Cache Nodes in the cluster and the new NumCacheNodes requested.
Returns:
A reference to this updated object so that method calls can be chained together.

withCacheNodeIdsToRemove

public ModifyCacheClusterRequest withCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
The list of Cache Node IDs to be removed. This parameter is only valid when NumCacheNodes is less than the existing number of Cache Nodes. The number of Cache Node Ids supplied in this parameter must match the difference between the existing number of Cache Nodes in the cluster and the new NumCacheNodes requested.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheNodeIdsToRemove - The list of Cache Node IDs to be removed. This parameter is only valid when NumCacheNodes is less than the existing number of Cache Nodes. The number of Cache Node Ids supplied in this parameter must match the difference between the existing number of Cache Nodes in the cluster and the new NumCacheNodes requested.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheSecurityGroupNames

public List<String> getCacheSecurityGroupNames()
A list of Cache Security Group Names to authorize on this Cache Cluster. This change is asynchronously applied as soon as possible.

This parameter can be used only with clusters that are created outside of an Amazon Virtual Private Cloud (VPC).

Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".

Returns:
A list of Cache Security Group Names to authorize on this Cache Cluster. This change is asynchronously applied as soon as possible.

This parameter can be used only with clusters that are created outside of an Amazon Virtual Private Cloud (VPC).

Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".


setCacheSecurityGroupNames

public void setCacheSecurityGroupNames(Collection<String> cacheSecurityGroupNames)
A list of Cache Security Group Names to authorize on this Cache Cluster. This change is asynchronously applied as soon as possible.

This parameter can be used only with clusters that are created outside of an Amazon Virtual Private Cloud (VPC).

Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".

Parameters:
cacheSecurityGroupNames - A list of Cache Security Group Names to authorize on this Cache Cluster. This change is asynchronously applied as soon as possible.

This parameter can be used only with clusters that are created outside of an Amazon Virtual Private Cloud (VPC).

Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".


withCacheSecurityGroupNames

public ModifyCacheClusterRequest withCacheSecurityGroupNames(String... cacheSecurityGroupNames)
A list of Cache Security Group Names to authorize on this Cache Cluster. This change is asynchronously applied as soon as possible.

This parameter can be used only with clusters that are created outside of an Amazon Virtual Private Cloud (VPC).

Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheSecurityGroupNames - A list of Cache Security Group Names to authorize on this Cache Cluster. This change is asynchronously applied as soon as possible.

This parameter can be used only with clusters that are created outside of an Amazon Virtual Private Cloud (VPC).

Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".

Returns:
A reference to this updated object so that method calls can be chained together.

withCacheSecurityGroupNames

public ModifyCacheClusterRequest withCacheSecurityGroupNames(Collection<String> cacheSecurityGroupNames)
A list of Cache Security Group Names to authorize on this Cache Cluster. This change is asynchronously applied as soon as possible.

This parameter can be used only with clusters that are created outside of an Amazon Virtual Private Cloud (VPC).

Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheSecurityGroupNames - A list of Cache Security Group Names to authorize on this Cache Cluster. This change is asynchronously applied as soon as possible.

This parameter can be used only with clusters that are created outside of an Amazon Virtual Private Cloud (VPC).

Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".

Returns:
A reference to this updated object so that method calls can be chained together.

getSecurityGroupIds

public List<String> getSecurityGroupIds()
Specifies the VPC Security Groups associated with the Cache Cluster.

This parameter can be used only with clusters that are created in an Amazon Virtual Private Cloud (VPC).

Returns:
Specifies the VPC Security Groups associated with the Cache Cluster.

This parameter can be used only with clusters that are created in an Amazon Virtual Private Cloud (VPC).


setSecurityGroupIds

public void setSecurityGroupIds(Collection<String> securityGroupIds)
Specifies the VPC Security Groups associated with the Cache Cluster.

This parameter can be used only with clusters that are created in an Amazon Virtual Private Cloud (VPC).

Parameters:
securityGroupIds - Specifies the VPC Security Groups associated with the Cache Cluster.

This parameter can be used only with clusters that are created in an Amazon Virtual Private Cloud (VPC).


withSecurityGroupIds

public ModifyCacheClusterRequest withSecurityGroupIds(String... securityGroupIds)
Specifies the VPC Security Groups associated with the Cache Cluster.

This parameter can be used only with clusters that are created in an Amazon Virtual Private Cloud (VPC).

Returns a reference to this object so that method calls can be chained together.

Parameters:
securityGroupIds - Specifies the VPC Security Groups associated with the Cache Cluster.

This parameter can be used only with clusters that are created in an Amazon Virtual Private Cloud (VPC).

Returns:
A reference to this updated object so that method calls can be chained together.

withSecurityGroupIds

public ModifyCacheClusterRequest withSecurityGroupIds(Collection<String> securityGroupIds)
Specifies the VPC Security Groups associated with the Cache Cluster.

This parameter can be used only with clusters that are created in an Amazon Virtual Private Cloud (VPC).

Returns a reference to this object so that method calls can be chained together.

Parameters:
securityGroupIds - Specifies the VPC Security Groups associated with the Cache Cluster.

This parameter can be used only with clusters that are created in an Amazon Virtual Private Cloud (VPC).

Returns:
A reference to this updated object so that method calls can be chained together.

getPreferredMaintenanceWindow

public String getPreferredMaintenanceWindow()
The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage. This change is made immediately. If moving this window to the current time, there must be at least 120 minutes between the current time and end of the window to ensure pending changes are applied.

Returns:
The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage. This change is made immediately. If moving this window to the current time, there must be at least 120 minutes between the current time and end of the window to ensure pending changes are applied.

setPreferredMaintenanceWindow

public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage. This change is made immediately. If moving this window to the current time, there must be at least 120 minutes between the current time and end of the window to ensure pending changes are applied.

Parameters:
preferredMaintenanceWindow - The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage. This change is made immediately. If moving this window to the current time, there must be at least 120 minutes between the current time and end of the window to ensure pending changes are applied.

withPreferredMaintenanceWindow

public ModifyCacheClusterRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage. This change is made immediately. If moving this window to the current time, there must be at least 120 minutes between the current time and end of the window to ensure pending changes are applied.

Returns a reference to this object so that method calls can be chained together.

Parameters:
preferredMaintenanceWindow - The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage. This change is made immediately. If moving this window to the current time, there must be at least 120 minutes between the current time and end of the window to ensure pending changes are applied.
Returns:
A reference to this updated object so that method calls can be chained together.

getNotificationTopicArn

public String getNotificationTopicArn()
The Amazon Resource Name (ARN) of the SNS topic to which notifications will be sent. The SNS topic owner must be same as the Cache Cluster owner.

Returns:
The Amazon Resource Name (ARN) of the SNS topic to which notifications will be sent. The SNS topic owner must be same as the Cache Cluster owner.

setNotificationTopicArn

public void setNotificationTopicArn(String notificationTopicArn)
The Amazon Resource Name (ARN) of the SNS topic to which notifications will be sent. The SNS topic owner must be same as the Cache Cluster owner.

Parameters:
notificationTopicArn - The Amazon Resource Name (ARN) of the SNS topic to which notifications will be sent. The SNS topic owner must be same as the Cache Cluster owner.

withNotificationTopicArn

public ModifyCacheClusterRequest withNotificationTopicArn(String notificationTopicArn)
The Amazon Resource Name (ARN) of the SNS topic to which notifications will be sent. The SNS topic owner must be same as the Cache Cluster owner.

Returns a reference to this object so that method calls can be chained together.

Parameters:
notificationTopicArn - The Amazon Resource Name (ARN) of the SNS topic to which notifications will be sent. The SNS topic owner must be same as the Cache Cluster owner.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheParameterGroupName

public String getCacheParameterGroupName()
The name of the Cache Parameter Group to apply to this Cache Cluster. This change is asynchronously applied as soon as possible for parameters when the ApplyImmediately parameter is specified as true for this request.

Returns:
The name of the Cache Parameter Group to apply to this Cache Cluster. This change is asynchronously applied as soon as possible for parameters when the ApplyImmediately parameter is specified as true for this request.

setCacheParameterGroupName

public void setCacheParameterGroupName(String cacheParameterGroupName)
The name of the Cache Parameter Group to apply to this Cache Cluster. This change is asynchronously applied as soon as possible for parameters when the ApplyImmediately parameter is specified as true for this request.

Parameters:
cacheParameterGroupName - The name of the Cache Parameter Group to apply to this Cache Cluster. This change is asynchronously applied as soon as possible for parameters when the ApplyImmediately parameter is specified as true for this request.

withCacheParameterGroupName

public ModifyCacheClusterRequest withCacheParameterGroupName(String cacheParameterGroupName)
The name of the Cache Parameter Group to apply to this Cache Cluster. This change is asynchronously applied as soon as possible for parameters when the ApplyImmediately parameter is specified as true for this request.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheParameterGroupName - The name of the Cache Parameter Group to apply to this Cache Cluster. This change is asynchronously applied as soon as possible for parameters when the ApplyImmediately parameter is specified as true for this request.
Returns:
A reference to this updated object so that method calls can be chained together.

getNotificationTopicStatus

public String getNotificationTopicStatus()
The status of the Amazon SNS notification topic. The value can be active or inactive. Notifications are sent only if the status is active.

Returns:
The status of the Amazon SNS notification topic. The value can be active or inactive. Notifications are sent only if the status is active.

setNotificationTopicStatus

public void setNotificationTopicStatus(String notificationTopicStatus)
The status of the Amazon SNS notification topic. The value can be active or inactive. Notifications are sent only if the status is active.

Parameters:
notificationTopicStatus - The status of the Amazon SNS notification topic. The value can be active or inactive. Notifications are sent only if the status is active.

withNotificationTopicStatus

public ModifyCacheClusterRequest withNotificationTopicStatus(String notificationTopicStatus)
The status of the Amazon SNS notification topic. The value can be active or inactive. Notifications are sent only if the status is active.

Returns a reference to this object so that method calls can be chained together.

Parameters:
notificationTopicStatus - The status of the Amazon SNS notification topic. The value can be active or inactive. Notifications are sent only if the status is active.
Returns:
A reference to this updated object so that method calls can be chained together.

isApplyImmediately

public Boolean isApplyImmediately()
Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster.

If this parameter is passed as false, changes to the Cache Cluster are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first.

Default: false

Returns:
Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster.

If this parameter is passed as false, changes to the Cache Cluster are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first.

Default: false


setApplyImmediately

public void setApplyImmediately(Boolean applyImmediately)
Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster.

If this parameter is passed as false, changes to the Cache Cluster are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first.

Default: false

Parameters:
applyImmediately - Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster.

If this parameter is passed as false, changes to the Cache Cluster are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first.

Default: false


withApplyImmediately

public ModifyCacheClusterRequest withApplyImmediately(Boolean applyImmediately)
Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster.

If this parameter is passed as false, changes to the Cache Cluster are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first.

Default: false

Returns a reference to this object so that method calls can be chained together.

Parameters:
applyImmediately - Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster.

If this parameter is passed as false, changes to the Cache Cluster are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first.

Default: false

Returns:
A reference to this updated object so that method calls can be chained together.

getApplyImmediately

public Boolean getApplyImmediately()
Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster.

If this parameter is passed as false, changes to the Cache Cluster are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first.

Default: false

Returns:
Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster.

If this parameter is passed as false, changes to the Cache Cluster are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first.

Default: false


getEngineVersion

public String getEngineVersion()
The version of the cache engine to upgrade this cluster to.

Returns:
The version of the cache engine to upgrade this cluster to.

setEngineVersion

public void setEngineVersion(String engineVersion)
The version of the cache engine to upgrade this cluster to.

Parameters:
engineVersion - The version of the cache engine to upgrade this cluster to.

withEngineVersion

public ModifyCacheClusterRequest withEngineVersion(String engineVersion)
The version of the cache engine to upgrade this cluster to.

Returns a reference to this object so that method calls can be chained together.

Parameters:
engineVersion - The version of the cache engine to upgrade this cluster to.
Returns:
A reference to this updated object so that method calls can be chained together.

isAutoMinorVersionUpgrade

public Boolean isAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.

Default: true

Returns:
Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.

Default: true


setAutoMinorVersionUpgrade

public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.

Default: true

Parameters:
autoMinorVersionUpgrade - Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.

Default: true


withAutoMinorVersionUpgrade

public ModifyCacheClusterRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.

Default: true

Returns a reference to this object so that method calls can be chained together.

Parameters:
autoMinorVersionUpgrade - Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.

Default: true

Returns:
A reference to this updated object so that method calls can be chained together.

getAutoMinorVersionUpgrade

public Boolean getAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.

Default: true

Returns:
Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.

Default: true


toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.