com.amazonaws.services.redshift.model
Class RotateEncryptionKeyRequest

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

public class RotateEncryptionKeyRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the RotateEncryptionKey operation.

Rotates the encryption keys for a cluster.

See Also:
AmazonRedshift.rotateEncryptionKey(RotateEncryptionKeyRequest), Serialized Form

Constructor Summary
RotateEncryptionKeyRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClusterIdentifier()
          The unique identifier of the cluster that you want to rotate the encryption keys for.
 int hashCode()
           
 void setClusterIdentifier(String clusterIdentifier)
          The unique identifier of the cluster that you want to rotate the encryption keys for.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RotateEncryptionKeyRequest withClusterIdentifier(String clusterIdentifier)
          The unique identifier of the cluster that you want to rotate the encryption keys for.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RotateEncryptionKeyRequest

public RotateEncryptionKeyRequest()
Method Detail

getClusterIdentifier

public String getClusterIdentifier()
The unique identifier of the cluster that you want to rotate the encryption keys for.

Constraints: Must be the name of valid cluster that has encryption enabled.

Returns:
The unique identifier of the cluster that you want to rotate the encryption keys for.

Constraints: Must be the name of valid cluster that has encryption enabled.


setClusterIdentifier

public void setClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster that you want to rotate the encryption keys for.

Constraints: Must be the name of valid cluster that has encryption enabled.

Parameters:
clusterIdentifier - The unique identifier of the cluster that you want to rotate the encryption keys for.

Constraints: Must be the name of valid cluster that has encryption enabled.


withClusterIdentifier

public RotateEncryptionKeyRequest withClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster that you want to rotate the encryption keys for.

Constraints: Must be the name of valid cluster that has encryption enabled.

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

Parameters:
clusterIdentifier - The unique identifier of the cluster that you want to rotate the encryption keys for.

Constraints: Must be the name of valid cluster that has encryption enabled.

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

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 © 2016. All rights reserved.