Class ServerCertificate
java.lang.Object
com.amazonaws.services.identitymanagement.model.ServerCertificate
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about a server certificate.
This data type is used as a response element in the GetServerCertificate action.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ServerCertificate object.ServerCertificate
(ServerCertificateMetadata serverCertificateMetadata, String certificateBody) Constructs a new ServerCertificate object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The contents of the public key certificate.The contents of the public key certificate chain.The meta information of the server certificate, such as its name, path, ID, and ARN.int
hashCode()
void
setCertificateBody
(String certificateBody) The contents of the public key certificate.void
setCertificateChain
(String certificateChain) The contents of the public key certificate chain.void
setServerCertificateMetadata
(ServerCertificateMetadata serverCertificateMetadata) The meta information of the server certificate, such as its name, path, ID, and ARN.toString()
Returns a string representation of this object; useful for testing and debugging.withCertificateBody
(String certificateBody) The contents of the public key certificate.withCertificateChain
(String certificateChain) The contents of the public key certificate chain.withServerCertificateMetadata
(ServerCertificateMetadata serverCertificateMetadata) The meta information of the server certificate, such as its name, path, ID, and ARN.
-
Constructor Details
-
ServerCertificate
public ServerCertificate()Default constructor for ServerCertificate object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
ServerCertificate
public ServerCertificate(ServerCertificateMetadata serverCertificateMetadata, String certificateBody) Constructs a new ServerCertificate object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
serverCertificateMetadata
- The meta information of the server certificate, such as its name, path, ID, and ARN.certificateBody
- The contents of the public key certificate.
-
-
Method Details
-
setServerCertificateMetadata
The meta information of the server certificate, such as its name, path, ID, and ARN.
- Parameters:
serverCertificateMetadata
- The meta information of the server certificate, such as its name, path, ID, and ARN.
-
getServerCertificateMetadata
The meta information of the server certificate, such as its name, path, ID, and ARN.
- Returns:
- The meta information of the server certificate, such as its name, path, ID, and ARN.
-
withServerCertificateMetadata
public ServerCertificate withServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata) The meta information of the server certificate, such as its name, path, ID, and ARN.
- Parameters:
serverCertificateMetadata
- The meta information of the server certificate, such as its name, path, ID, and ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCertificateBody
The contents of the public key certificate.
- Parameters:
certificateBody
- The contents of the public key certificate.
-
getCertificateBody
The contents of the public key certificate.
- Returns:
- The contents of the public key certificate.
-
withCertificateBody
The contents of the public key certificate.
- Parameters:
certificateBody
- The contents of the public key certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCertificateChain
The contents of the public key certificate chain.
- Parameters:
certificateChain
- The contents of the public key certificate chain.
-
getCertificateChain
The contents of the public key certificate chain.
- Returns:
- The contents of the public key certificate chain.
-
withCertificateChain
The contents of the public key certificate chain.
- Parameters:
certificateChain
- The contents of the public key certificate chain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-