@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Certificate extends Object implements Serializable, Cloneable, StructuredPojo
Information about the certificate.
| Constructor and Description |
|---|
Certificate() |
| Modifier and Type | Method and Description |
|---|---|
Certificate |
clone() |
boolean |
equals(Object obj) |
String |
getCertificateId()
The identifier of the certificate.
|
ClientCertAuthSettings |
getClientCertAuthSettings()
A
ClientCertAuthSettings object that contains client certificate authentication settings. |
String |
getCommonName()
The common name for the certificate.
|
Date |
getExpiryDateTime()
The date and time when the certificate will expire.
|
Date |
getRegisteredDateTime()
The date and time that the certificate was registered.
|
String |
getState()
The state of the certificate.
|
String |
getStateReason()
Describes a state change for 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 |
setClientCertAuthSettings(ClientCertAuthSettings clientCertAuthSettings)
A
ClientCertAuthSettings object that contains client certificate authentication settings. |
void |
setCommonName(String commonName)
The common name for the certificate.
|
void |
setExpiryDateTime(Date expiryDateTime)
The date and time when the certificate will expire.
|
void |
setRegisteredDateTime(Date registeredDateTime)
The date and time that the certificate was registered.
|
void |
setState(String state)
The state of the certificate.
|
void |
setStateReason(String stateReason)
Describes a state change for the certificate.
|
void |
setType(String type)
The function that the registered certificate performs.
|
String |
toString()
Returns a string representation of this object.
|
Certificate |
withCertificateId(String certificateId)
The identifier of the certificate.
|
Certificate |
withClientCertAuthSettings(ClientCertAuthSettings clientCertAuthSettings)
A
ClientCertAuthSettings object that contains client certificate authentication settings. |
Certificate |
withCommonName(String commonName)
The common name for the certificate.
|
Certificate |
withExpiryDateTime(Date expiryDateTime)
The date and time when the certificate will expire.
|
Certificate |
withRegisteredDateTime(Date registeredDateTime)
The date and time that the certificate was registered.
|
Certificate |
withState(CertificateState state)
The state of the certificate.
|
Certificate |
withState(String state)
The state of the certificate.
|
Certificate |
withStateReason(String stateReason)
Describes a state change for the certificate.
|
Certificate |
withType(CertificateType type)
The function that the registered certificate performs.
|
Certificate |
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 Certificate withCertificateId(String certificateId)
The identifier of the certificate.
certificateId - The identifier of the certificate.public void setState(String state)
The state of the certificate.
state - The state of the certificate.CertificateStatepublic String getState()
The state of the certificate.
CertificateStatepublic Certificate withState(String state)
The state of the certificate.
state - The state of the certificate.CertificateStatepublic Certificate withState(CertificateState state)
The state of the certificate.
state - The state of the certificate.CertificateStatepublic void setStateReason(String stateReason)
Describes a state change for the certificate.
stateReason - Describes a state change for the certificate.public String getStateReason()
Describes a state change for the certificate.
public Certificate withStateReason(String stateReason)
Describes a state change for the certificate.
stateReason - Describes a state change for 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 Certificate withCommonName(String commonName)
The common name for the certificate.
commonName - The common name for the certificate.public void setRegisteredDateTime(Date registeredDateTime)
The date and time that the certificate was registered.
registeredDateTime - The date and time that the certificate was registered.public Date getRegisteredDateTime()
The date and time that the certificate was registered.
public Certificate withRegisteredDateTime(Date registeredDateTime)
The date and time that the certificate was registered.
registeredDateTime - The date and time that the certificate was registered.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 Certificate 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.CertificateTypepublic 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.CertificateTypepublic Certificate 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.CertificateTypepublic Certificate 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.CertificateTypepublic void setClientCertAuthSettings(ClientCertAuthSettings clientCertAuthSettings)
A ClientCertAuthSettings object that contains client certificate authentication settings.
clientCertAuthSettings - A ClientCertAuthSettings object that contains client certificate authentication settings.public ClientCertAuthSettings getClientCertAuthSettings()
A ClientCertAuthSettings object that contains client certificate authentication settings.
ClientCertAuthSettings object that contains client certificate authentication settings.public Certificate withClientCertAuthSettings(ClientCertAuthSettings clientCertAuthSettings)
A ClientCertAuthSettings object that contains client certificate authentication settings.
clientCertAuthSettings - A ClientCertAuthSettings object that contains client certificate authentication settings.public String toString()
toString in class ObjectObject.toString()public Certificate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.