Class SigningCertificate
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about an X.509 signing certificate.
This data type is used as a response element in the UploadSigningCertificate and ListSigningCertificates actions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for SigningCertificate object.SigningCertificate
(String userName, String certificateId, String certificateBody, StatusType status) Constructs a new SigningCertificate object.SigningCertificate
(String userName, String certificateId, String certificateBody, String status) Constructs a new SigningCertificate object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The contents of the signing certificate.The ID for the signing certificate.The status of the signing certificate.The date when the signing certificate was uploaded.The name of the user the signing certificate is associated with.int
hashCode()
void
setCertificateBody
(String certificateBody) The contents of the signing certificate.void
setCertificateId
(String certificateId) The ID for the signing certificate.void
setStatus
(StatusType status) The status of the signing certificate.void
The status of the signing certificate.void
setUploadDate
(Date uploadDate) The date when the signing certificate was uploaded.void
setUserName
(String userName) The name of the user the signing certificate is associated with.toString()
Returns a string representation of this object; useful for testing and debugging.withCertificateBody
(String certificateBody) The contents of the signing certificate.withCertificateId
(String certificateId) The ID for the signing certificate.withStatus
(StatusType status) The status of the signing certificate.withStatus
(String status) The status of the signing certificate.withUploadDate
(Date uploadDate) The date when the signing certificate was uploaded.withUserName
(String userName) The name of the user the signing certificate is associated with.
-
Constructor Details
-
SigningCertificate
public SigningCertificate()Default constructor for SigningCertificate object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
SigningCertificate
public SigningCertificate(String userName, String certificateId, String certificateBody, String status) Constructs a new SigningCertificate object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
userName
- The name of the user the signing certificate is associated with.certificateId
- The ID for the signing certificate.certificateBody
- The contents of the signing certificate.status
- The status of the signing certificate.Active
means the key is valid for API calls, whileInactive
means it is not.
-
SigningCertificate
public SigningCertificate(String userName, String certificateId, String certificateBody, StatusType status) Constructs a new SigningCertificate object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
userName
- The name of the user the signing certificate is associated with.certificateId
- The ID for the signing certificate.certificateBody
- The contents of the signing certificate.status
- The status of the signing certificate.Active
means the key is valid for API calls, whileInactive
means it is not.
-
-
Method Details
-
setUserName
The name of the user the signing certificate is associated with.
- Parameters:
userName
- The name of the user the signing certificate is associated with.
-
getUserName
The name of the user the signing certificate is associated with.
- Returns:
- The name of the user the signing certificate is associated with.
-
withUserName
The name of the user the signing certificate is associated with.
- Parameters:
userName
- The name of the user the signing certificate is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCertificateId
The ID for the signing certificate.
- Parameters:
certificateId
- The ID for the signing certificate.
-
getCertificateId
The ID for the signing certificate.
- Returns:
- The ID for the signing certificate.
-
withCertificateId
The ID for the signing certificate.
- Parameters:
certificateId
- The ID for the signing certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCertificateBody
The contents of the signing certificate.
- Parameters:
certificateBody
- The contents of the signing certificate.
-
getCertificateBody
The contents of the signing certificate.
- Returns:
- The contents of the signing certificate.
-
withCertificateBody
The contents of the signing certificate.
- Parameters:
certificateBody
- The contents of the signing certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The status of the signing certificate.
Active
means the key is valid for API calls, whileInactive
means it is not.- Parameters:
status
- The status of the signing certificate.Active
means the key is valid for API calls, whileInactive
means it is not.- See Also:
-
getStatus
The status of the signing certificate.
Active
means the key is valid for API calls, whileInactive
means it is not.- Returns:
- The status of the signing certificate.
Active
means the key is valid for API calls, whileInactive
means it is not. - See Also:
-
withStatus
The status of the signing certificate.
Active
means the key is valid for API calls, whileInactive
means it is not.- Parameters:
status
- The status of the signing certificate.Active
means the key is valid for API calls, whileInactive
means it is not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The status of the signing certificate.
Active
means the key is valid for API calls, whileInactive
means it is not.- Parameters:
status
- The status of the signing certificate.Active
means the key is valid for API calls, whileInactive
means it is not.- See Also:
-
withStatus
The status of the signing certificate.
Active
means the key is valid for API calls, whileInactive
means it is not.- Parameters:
status
- The status of the signing certificate.Active
means the key is valid for API calls, whileInactive
means it is not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setUploadDate
The date when the signing certificate was uploaded.
- Parameters:
uploadDate
- The date when the signing certificate was uploaded.
-
getUploadDate
The date when the signing certificate was uploaded.
- Returns:
- The date when the signing certificate was uploaded.
-
withUploadDate
The date when the signing certificate was uploaded.
- Parameters:
uploadDate
- The date when the signing certificate was uploaded.- 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
-