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 HsmClientCertificate
clone()
boolean
equals(Object obj)
String
getHsmClientCertificateIdentifier()
The identifier of the HSM client certificate.String
getHsmClientCertificatePublicKey()
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.int
hashCode()
void
setHsmClientCertificateIdentifier(String hsmClientCertificateIdentifier)
The identifier of the HSM client certificate.void
setHsmClientCertificatePublicKey(String hsmClientCertificatePublicKey)
The public key that the Amazon Redshift cluster will use to connect to the HSM.void
setTags(Collection<Tag> tags)
The list of tags for the HSM client certificate.String
toString()
Returns a string representation of this object; useful for testing and debugging.HsmClientCertificate
withHsmClientCertificateIdentifier(String hsmClientCertificateIdentifier)
The identifier of the HSM client certificate.HsmClientCertificate
withHsmClientCertificatePublicKey(String hsmClientCertificatePublicKey)
The public key that the Amazon Redshift cluster will use to connect to the HSM.HsmClientCertificate
withTags(Tag... tags)
The list of tags for the HSM client certificate.HsmClientCertificate
withTags(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public HsmClientCertificate clone()
-
-