@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CertificateInfo extends Object implements Serializable, Cloneable, StructuredPojo
Contains general information about a certificate.
Constructor and Description |
---|
CertificateInfo() |
Modifier and Type | Method and Description |
---|---|
CertificateInfo |
clone() |
boolean |
equals(Object obj) |
String |
getCertificateId()
The identifier of the certificate.
|
String |
getCommonName()
The common name for the certificate.
|
Date |
getExpiryDateTime()
The date and time when the certificate will expire.
|
String |
getState()
The state of the certificate.
|
String |
getType()
The function that the registered certificate performs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificateId(String certificateId)
The identifier of the certificate.
|
void |
setCommonName(String commonName)
The common name for the certificate.
|
void |
setExpiryDateTime(Date expiryDateTime)
The date and time when the certificate will expire.
|
void |
setState(String state)
The state of the certificate.
|
void |
setType(String type)
The function that the registered certificate performs.
|
String |
toString()
Returns a string representation of this object.
|
CertificateInfo |
withCertificateId(String certificateId)
The identifier of the certificate.
|
CertificateInfo |
withCommonName(String commonName)
The common name for the certificate.
|
CertificateInfo |
withExpiryDateTime(Date expiryDateTime)
The date and time when the certificate will expire.
|
CertificateInfo |
withState(CertificateState state)
The state of the certificate.
|
CertificateInfo |
withState(String state)
The state of the certificate.
|
CertificateInfo |
withType(CertificateType type)
The function that the registered certificate performs.
|
CertificateInfo |
withType(String type)
The function that the registered certificate performs.
|
public void setCertificateId(String certificateId)
The identifier of the certificate.
certificateId
- The identifier of the certificate.public String getCertificateId()
The identifier of the certificate.
public CertificateInfo withCertificateId(String certificateId)
The identifier of the certificate.
certificateId
- The identifier of the certificate.public void setCommonName(String commonName)
The common name for the certificate.
commonName
- The common name for the certificate.public String getCommonName()
The common name for the certificate.
public CertificateInfo withCommonName(String commonName)
The common name for the certificate.
commonName
- The common name for the certificate.public void setState(String state)
The state of the certificate.
state
- The state of the certificate.CertificateState
public String getState()
The state of the certificate.
CertificateState
public CertificateInfo withState(String state)
The state of the certificate.
state
- The state of the certificate.CertificateState
public CertificateInfo withState(CertificateState state)
The state of the certificate.
state
- The state of the certificate.CertificateState
public void setExpiryDateTime(Date expiryDateTime)
The date and time when the certificate will expire.
expiryDateTime
- The date and time when the certificate will expire.public Date getExpiryDateTime()
The date and time when the certificate will expire.
public CertificateInfo withExpiryDateTime(Date expiryDateTime)
The date and time when the certificate will expire.
expiryDateTime
- The date and time when the certificate will expire.public void setType(String type)
The function that the registered certificate performs. Valid values include ClientLDAPS
or
ClientCertAuth
. The default value is ClientLDAPS
.
type
- The function that the registered certificate performs. Valid values include ClientLDAPS
or
ClientCertAuth
. The default value is ClientLDAPS
.CertificateType
public String getType()
The function that the registered certificate performs. Valid values include ClientLDAPS
or
ClientCertAuth
. The default value is ClientLDAPS
.
ClientLDAPS
or
ClientCertAuth
. The default value is ClientLDAPS
.CertificateType
public CertificateInfo withType(String type)
The function that the registered certificate performs. Valid values include ClientLDAPS
or
ClientCertAuth
. The default value is ClientLDAPS
.
type
- The function that the registered certificate performs. Valid values include ClientLDAPS
or
ClientCertAuth
. The default value is ClientLDAPS
.CertificateType
public CertificateInfo withType(CertificateType type)
The function that the registered certificate performs. Valid values include ClientLDAPS
or
ClientCertAuth
. The default value is ClientLDAPS
.
type
- The function that the registered certificate performs. Valid values include ClientLDAPS
or
ClientCertAuth
. The default value is ClientLDAPS
.CertificateType
public String toString()
toString
in class Object
Object.toString()
public CertificateInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.