Class GenerateClientCertificateResult
- java.lang.Object
-
- com.amazonaws.services.apigateway.model.GenerateClientCertificateResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GenerateClientCertificateResult extends Object implements Serializable, Cloneable
Represents a Client Certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GenerateClientCertificateResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateClientCertificateResult
clone()
boolean
equals(Object obj)
String
getClientCertificateId()
The identifier of the Client Certificate.Date
getCreatedDate()
The date when the Client Certificate was created, in ISO 8601 format.String
getDescription()
The description of the Client Certificate.Date
getExpirationDate()
The date when the Client Certificate will expire, in ISO 8601 format.String
getPemEncodedCertificate()
The PEM-encoded public key of the Client Certificate, that can be used to configure certificate authentication in the integration endpoint .int
hashCode()
void
setClientCertificateId(String clientCertificateId)
The identifier of the Client Certificate.void
setCreatedDate(Date createdDate)
The date when the Client Certificate was created, in ISO 8601 format.void
setDescription(String description)
The description of the Client Certificate.void
setExpirationDate(Date expirationDate)
The date when the Client Certificate will expire, in ISO 8601 format.void
setPemEncodedCertificate(String pemEncodedCertificate)
The PEM-encoded public key of the Client Certificate, that can be used to configure certificate authentication in the integration endpoint .String
toString()
Returns a string representation of this object; useful for testing and debugging.GenerateClientCertificateResult
withClientCertificateId(String clientCertificateId)
The identifier of the Client Certificate.GenerateClientCertificateResult
withCreatedDate(Date createdDate)
The date when the Client Certificate was created, in ISO 8601 format.GenerateClientCertificateResult
withDescription(String description)
The description of the Client Certificate.GenerateClientCertificateResult
withExpirationDate(Date expirationDate)
The date when the Client Certificate will expire, in ISO 8601 format.GenerateClientCertificateResult
withPemEncodedCertificate(String pemEncodedCertificate)
The PEM-encoded public key of the Client Certificate, that can be used to configure certificate authentication in the integration endpoint .
-
-
-
Method Detail
-
setClientCertificateId
public void setClientCertificateId(String clientCertificateId)
The identifier of the Client Certificate.
- Parameters:
clientCertificateId
- The identifier of the Client Certificate.
-
getClientCertificateId
public String getClientCertificateId()
The identifier of the Client Certificate.
- Returns:
- The identifier of the Client Certificate.
-
withClientCertificateId
public GenerateClientCertificateResult withClientCertificateId(String clientCertificateId)
The identifier of the Client Certificate.
- Parameters:
clientCertificateId
- The identifier of the Client Certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
The description of the Client Certificate.
- Parameters:
description
- The description of the Client Certificate.
-
getDescription
public String getDescription()
The description of the Client Certificate.
- Returns:
- The description of the Client Certificate.
-
withDescription
public GenerateClientCertificateResult withDescription(String description)
The description of the Client Certificate.
- Parameters:
description
- The description of the Client Certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPemEncodedCertificate
public void setPemEncodedCertificate(String pemEncodedCertificate)
The PEM-encoded public key of the Client Certificate, that can be used to configure certificate authentication in the integration endpoint .
- Parameters:
pemEncodedCertificate
- The PEM-encoded public key of the Client Certificate, that can be used to configure certificate authentication in the integration endpoint .
-
getPemEncodedCertificate
public String getPemEncodedCertificate()
The PEM-encoded public key of the Client Certificate, that can be used to configure certificate authentication in the integration endpoint .
- Returns:
- The PEM-encoded public key of the Client Certificate, that can be used to configure certificate authentication in the integration endpoint .
-
withPemEncodedCertificate
public GenerateClientCertificateResult withPemEncodedCertificate(String pemEncodedCertificate)
The PEM-encoded public key of the Client Certificate, that can be used to configure certificate authentication in the integration endpoint .
- Parameters:
pemEncodedCertificate
- The PEM-encoded public key of the Client Certificate, that can be used to configure certificate authentication in the integration endpoint .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedDate
public void setCreatedDate(Date createdDate)
The date when the Client Certificate was created, in ISO 8601 format.
- Parameters:
createdDate
- The date when the Client Certificate was created, in ISO 8601 format.
-
getCreatedDate
public Date getCreatedDate()
The date when the Client Certificate was created, in ISO 8601 format.
- Returns:
- The date when the Client Certificate was created, in ISO 8601 format.
-
withCreatedDate
public GenerateClientCertificateResult withCreatedDate(Date createdDate)
The date when the Client Certificate was created, in ISO 8601 format.
- Parameters:
createdDate
- The date when the Client Certificate was created, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExpirationDate
public void setExpirationDate(Date expirationDate)
The date when the Client Certificate will expire, in ISO 8601 format.
- Parameters:
expirationDate
- The date when the Client Certificate will expire, in ISO 8601 format.
-
getExpirationDate
public Date getExpirationDate()
The date when the Client Certificate will expire, in ISO 8601 format.
- Returns:
- The date when the Client Certificate will expire, in ISO 8601 format.
-
withExpirationDate
public GenerateClientCertificateResult withExpirationDate(Date expirationDate)
The date when the Client Certificate will expire, in ISO 8601 format.
- Parameters:
expirationDate
- The date when the Client Certificate will expire, in ISO 8601 format.- 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 GenerateClientCertificateResult clone()
-
-