public class SigningCertificate
extends java.lang.Object
implements java.io.Serializable
The SigningCertificate data type contains information about an X.509 signing certificate.
This data type is used as a response element in the actions UploadSigningCertificate and ListSigningCertificates.
| コンストラクタと説明 |
|---|
SigningCertificate()
Default constructor for a new SigningCertificate object.
|
SigningCertificate(java.lang.String userName,
java.lang.String certificateId,
java.lang.String certificateBody,
StatusType status)
Constructs a new SigningCertificate object.
|
SigningCertificate(java.lang.String userName,
java.lang.String certificateId,
java.lang.String certificateBody,
java.lang.String status)
Constructs a new SigningCertificate object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCertificateBody()
The contents of the signing certificate.
|
java.lang.String |
getCertificateId()
The ID for the signing certificate.
|
java.lang.String |
getStatus()
The status of the signing certificate.
|
java.util.Date |
getUploadDate()
The date when the signing certificate was uploaded.
|
java.lang.String |
getUserName()
Name of the user the signing certificate is associated with.
|
int |
hashCode() |
void |
setCertificateBody(java.lang.String certificateBody)
The contents of the signing certificate.
|
void |
setCertificateId(java.lang.String certificateId)
The ID for the signing certificate.
|
void |
setStatus(StatusType status)
The status of the signing certificate.
|
void |
setStatus(java.lang.String status)
The status of the signing certificate.
|
void |
setUploadDate(java.util.Date uploadDate)
The date when the signing certificate was uploaded.
|
void |
setUserName(java.lang.String userName)
Name of the user the signing certificate is associated with.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SigningCertificate |
withCertificateBody(java.lang.String certificateBody)
The contents of the signing certificate.
|
SigningCertificate |
withCertificateId(java.lang.String certificateId)
The ID for the signing certificate.
|
SigningCertificate |
withStatus(StatusType status)
The status of the signing certificate.
|
SigningCertificate |
withStatus(java.lang.String status)
The status of the signing certificate.
|
SigningCertificate |
withUploadDate(java.util.Date uploadDate)
The date when the signing certificate was uploaded.
|
SigningCertificate |
withUserName(java.lang.String userName)
Name of the user the signing certificate is associated with.
|
public SigningCertificate()
public SigningCertificate(java.lang.String userName,
java.lang.String certificateId,
java.lang.String certificateBody,
java.lang.String status)
userName - 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, while
Inactive means it is not.public SigningCertificate(java.lang.String userName,
java.lang.String certificateId,
java.lang.String certificateBody,
StatusType status)
userName - 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, while
Inactive means it is not.public java.lang.String getUserName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setUserName(java.lang.String userName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
userName - Name of the user the signing certificate is associated with.public SigningCertificate withUserName(java.lang.String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
userName - Name of the user the signing certificate is associated with.public java.lang.String getCertificateId()
Constraints:
Length: 24 - 128
Pattern: [\w]*
public void setCertificateId(java.lang.String certificateId)
Constraints:
Length: 24 - 128
Pattern: [\w]*
certificateId - The ID for the signing certificate.public SigningCertificate withCertificateId(java.lang.String certificateId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 24 - 128
Pattern: [\w]*
certificateId - The ID for the signing certificate.public java.lang.String getCertificateBody()
Constraints:
Length: 1 - 16384
Pattern: [
-ÿ]+
public void setCertificateBody(java.lang.String certificateBody)
Constraints:
Length: 1 - 16384
Pattern: [
-ÿ]+
certificateBody - The contents of the signing certificate.public SigningCertificate withCertificateBody(java.lang.String certificateBody)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 16384
Pattern: [
-ÿ]+
certificateBody - The contents of the signing certificate.public java.lang.String getStatus()
Active means the
key is valid for API calls, while Inactive means it is
not.
Constraints:
Allowed Values: Active, Inactive
Active means the
key is valid for API calls, while Inactive means it is
not.StatusTypepublic void setStatus(java.lang.String status)
Active means the
key is valid for API calls, while Inactive means it is
not.
Constraints:
Allowed Values: Active, Inactive
status - The status of the signing certificate. Active means the
key is valid for API calls, while Inactive means it is
not.StatusTypepublic SigningCertificate withStatus(java.lang.String status)
Active means the
key is valid for API calls, while Inactive means it is
not.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Active, Inactive
status - The status of the signing certificate. Active means the
key is valid for API calls, while Inactive means it is
not.StatusTypepublic void setStatus(StatusType status)
Active means the
key is valid for API calls, while Inactive means it is
not.
Constraints:
Allowed Values: Active, Inactive
status - The status of the signing certificate. Active means the
key is valid for API calls, while Inactive means it is
not.StatusTypepublic SigningCertificate withStatus(StatusType status)
Active means the
key is valid for API calls, while Inactive means it is
not.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Active, Inactive
status - The status of the signing certificate. Active means the
key is valid for API calls, while Inactive means it is
not.StatusTypepublic java.util.Date getUploadDate()
public void setUploadDate(java.util.Date uploadDate)
uploadDate - The date when the signing certificate was uploaded.public SigningCertificate withUploadDate(java.util.Date uploadDate)
Returns a reference to this object so that method calls can be chained together.
uploadDate - The date when the signing certificate was uploaded.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object