Class HsmStatus
- java.lang.Object
-
- com.amazonaws.services.redshift.model.HsmStatus
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class HsmStatus extends Object implements Serializable, Cloneable
Describes the status of changes to HSM settings.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HsmStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HsmStatus
clone()
boolean
equals(Object obj)
String
getHsmClientCertificateIdentifier()
Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.String
getHsmConfigurationIdentifier()
Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.String
getStatus()
Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.int
hashCode()
void
setHsmClientCertificateIdentifier(String hsmClientCertificateIdentifier)
Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.void
setHsmConfigurationIdentifier(String hsmConfigurationIdentifier)
Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.void
setStatus(String status)
Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.String
toString()
Returns a string representation of this object; useful for testing and debugging.HsmStatus
withHsmClientCertificateIdentifier(String hsmClientCertificateIdentifier)
Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.HsmStatus
withHsmConfigurationIdentifier(String hsmConfigurationIdentifier)
Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.HsmStatus
withStatus(String status)
Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.
-
-
-
Method Detail
-
setHsmClientCertificateIdentifier
public void setHsmClientCertificateIdentifier(String hsmClientCertificateIdentifier)
Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
- Parameters:
hsmClientCertificateIdentifier
- Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
-
getHsmClientCertificateIdentifier
public String getHsmClientCertificateIdentifier()
Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
- Returns:
- Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
-
withHsmClientCertificateIdentifier
public HsmStatus withHsmClientCertificateIdentifier(String hsmClientCertificateIdentifier)
Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
- Parameters:
hsmClientCertificateIdentifier
- Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHsmConfigurationIdentifier
public void setHsmConfigurationIdentifier(String hsmConfigurationIdentifier)
Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
- Parameters:
hsmConfigurationIdentifier
- Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
-
getHsmConfigurationIdentifier
public String getHsmConfigurationIdentifier()
Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
- Returns:
- Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
-
withHsmConfigurationIdentifier
public HsmStatus withHsmConfigurationIdentifier(String hsmConfigurationIdentifier)
Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
- Parameters:
hsmConfigurationIdentifier
- Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.
Values: active, applying
- Parameters:
status
- Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.Values: active, applying
-
getStatus
public String getStatus()
Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.
Values: active, applying
- Returns:
- Reports whether the Amazon Redshift cluster has finished applying
any HSM settings changes specified in a modify cluster
command.
Values: active, applying
-
withStatus
public HsmStatus withStatus(String status)
Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.
Values: active, applying
- Parameters:
status
- Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.Values: active, applying
- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-