public class HsmClientCertificate
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
hsmClientCertificateIdentifier
The identifier of the HSM client certificate.
|
private java.lang.String |
hsmClientCertificatePublicKey
The public key that the Amazon Redshift cluster will use to connect to
the HSM.
|
private SdkInternalList<Tag> |
tags
The list of tags for the HSM client certificate.
|
Constructor and Description |
---|
HsmClientCertificate() |
Modifier and Type | Method and Description |
---|---|
HsmClientCertificate |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getHsmClientCertificateIdentifier()
The identifier of the HSM client certificate.
|
java.lang.String |
getHsmClientCertificatePublicKey()
The public key that the Amazon Redshift cluster will use to connect to
the HSM.
|
java.util.List<Tag> |
getTags()
The list of tags for the HSM client certificate.
|
int |
hashCode() |
void |
setHsmClientCertificateIdentifier(java.lang.String hsmClientCertificateIdentifier)
The identifier of the HSM client certificate.
|
void |
setHsmClientCertificatePublicKey(java.lang.String hsmClientCertificatePublicKey)
The public key that the Amazon Redshift cluster will use to connect to
the HSM.
|
void |
setTags(java.util.Collection<Tag> tags)
The list of tags for the HSM client certificate.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HsmClientCertificate |
withHsmClientCertificateIdentifier(java.lang.String hsmClientCertificateIdentifier)
The identifier of the HSM client certificate.
|
HsmClientCertificate |
withHsmClientCertificatePublicKey(java.lang.String hsmClientCertificatePublicKey)
The public key that the Amazon Redshift cluster will use to connect to
the HSM.
|
HsmClientCertificate |
withTags(java.util.Collection<Tag> tags)
The list of tags for the HSM client certificate.
|
HsmClientCertificate |
withTags(Tag... tags)
The list of tags for the HSM client certificate.
|
private java.lang.String hsmClientCertificateIdentifier
The identifier of the HSM client certificate.
private java.lang.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.
private SdkInternalList<Tag> tags
The list of tags for the HSM client certificate.
public void setHsmClientCertificateIdentifier(java.lang.String hsmClientCertificateIdentifier)
The identifier of the HSM client certificate.
hsmClientCertificateIdentifier
- The identifier of the HSM client certificate.public java.lang.String getHsmClientCertificateIdentifier()
The identifier of the HSM client certificate.
public HsmClientCertificate withHsmClientCertificateIdentifier(java.lang.String hsmClientCertificateIdentifier)
The identifier of the HSM client certificate.
hsmClientCertificateIdentifier
- The identifier of the HSM client certificate.public void setHsmClientCertificatePublicKey(java.lang.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.
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.public java.lang.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.
public HsmClientCertificate withHsmClientCertificatePublicKey(java.lang.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.
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.public java.util.List<Tag> getTags()
The list of tags for the HSM client certificate.
public void setTags(java.util.Collection<Tag> tags)
The list of tags for the HSM client certificate.
tags
- The list of tags for the HSM client certificate.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)
or
withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The list of tags for the HSM client certificate.public HsmClientCertificate withTags(java.util.Collection<Tag> tags)
The list of tags for the HSM client certificate.
tags
- The list of tags for the HSM client certificate.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public HsmClientCertificate clone()
clone
in class java.lang.Object