Class HsmClientCertificate
- java.lang.Object
-
- com.amazonaws.services.redshift.model.HsmClientCertificate
-
- All Implemented Interfaces:
Serializable,Cloneable
public class HsmClientCertificate extends Object implements Serializable, Cloneable
Returns information about an HSM client certificate. The certificate is stored in a secure Hardware Storage Module (HSM), and used by the Amazon Redshift cluster to encrypt data files.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HsmClientCertificate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HsmClientCertificateclone()booleanequals(Object obj)StringgetHsmClientCertificateIdentifier()The identifier of the HSM client certificate.StringgetHsmClientCertificatePublicKey()The public key that the Amazon Redshift cluster will use to connect to the HSM.List<Tag>getTags()The list of tags for the HSM client certificate.inthashCode()voidsetHsmClientCertificateIdentifier(String hsmClientCertificateIdentifier)The identifier of the HSM client certificate.voidsetHsmClientCertificatePublicKey(String hsmClientCertificatePublicKey)The public key that the Amazon Redshift cluster will use to connect to the HSM.voidsetTags(Collection<Tag> tags)The list of tags for the HSM client certificate.StringtoString()Returns a string representation of this object; useful for testing and debugging.HsmClientCertificatewithHsmClientCertificateIdentifier(String hsmClientCertificateIdentifier)The identifier of the HSM client certificate.HsmClientCertificatewithHsmClientCertificatePublicKey(String hsmClientCertificatePublicKey)The public key that the Amazon Redshift cluster will use to connect to the HSM.HsmClientCertificatewithTags(Tag... tags)The list of tags for the HSM client certificate.HsmClientCertificatewithTags(Collection<Tag> tags)The list of tags for the HSM client certificate.
-
-
-
Method Detail
-
setHsmClientCertificateIdentifier
public void setHsmClientCertificateIdentifier(String hsmClientCertificateIdentifier)
The identifier of the HSM client certificate.
- Parameters:
hsmClientCertificateIdentifier- The identifier of the HSM client certificate.
-
getHsmClientCertificateIdentifier
public String getHsmClientCertificateIdentifier()
The identifier of the HSM client certificate.
- Returns:
- The identifier of the HSM client certificate.
-
withHsmClientCertificateIdentifier
public HsmClientCertificate withHsmClientCertificateIdentifier(String hsmClientCertificateIdentifier)
The identifier of the HSM client certificate.
- Parameters:
hsmClientCertificateIdentifier- The identifier of the HSM client certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHsmClientCertificatePublicKey
public void setHsmClientCertificatePublicKey(String hsmClientCertificatePublicKey)
The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.
- Parameters:
hsmClientCertificatePublicKey- The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.
-
getHsmClientCertificatePublicKey
public String getHsmClientCertificatePublicKey()
The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.
- Returns:
- The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.
-
withHsmClientCertificatePublicKey
public HsmClientCertificate withHsmClientCertificatePublicKey(String hsmClientCertificatePublicKey)
The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.
- Parameters:
hsmClientCertificatePublicKey- The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
public List<Tag> getTags()
The list of tags for the HSM client certificate.
- Returns:
- The list of tags for the HSM client certificate.
-
setTags
public void setTags(Collection<Tag> tags)
The list of tags for the HSM client certificate.
- Parameters:
tags- The list of tags for the HSM client certificate.
-
withTags
public HsmClientCertificate withTags(Tag... tags)
The list of tags for the HSM client certificate.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)orwithTags(java.util.Collection)if you want to override the existing values.- Parameters:
tags- The list of tags for the HSM client certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
public HsmClientCertificate withTags(Collection<Tag> tags)
The list of tags for the HSM client certificate.
- Parameters:
tags- The list of tags for the HSM client certificate.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public HsmClientCertificate clone()
-
-