@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SigningCertificate extends Object implements 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.
Constructor and Description |
---|
SigningCertificate()
Default 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.
|
Modifier and Type | Method and Description |
---|---|
SigningCertificate |
clone() |
boolean |
equals(Object obj) |
String |
getCertificateBody()
The contents of the signing certificate.
|
String |
getCertificateId()
The ID for the signing certificate.
|
String |
getStatus()
The status of the signing certificate.
|
Date |
getUploadDate()
The date when the signing certificate was uploaded.
|
String |
getUserName()
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 |
setStatus(String status)
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SigningCertificate |
withCertificateBody(String certificateBody)
The contents of the signing certificate.
|
SigningCertificate |
withCertificateId(String certificateId)
The ID for the signing certificate.
|
SigningCertificate |
withStatus(StatusType status)
The status of the signing certificate.
|
SigningCertificate |
withStatus(String status)
The status of the signing certificate.
|
SigningCertificate |
withUploadDate(Date uploadDate)
The date when the signing certificate was uploaded.
|
SigningCertificate |
withUserName(String userName)
The name of the user the signing certificate is associated with.
|
public SigningCertificate()
public SigningCertificate(String userName, String certificateId, String certificateBody, String status)
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, while
Inactive
means it is not.public SigningCertificate(String userName, String certificateId, String certificateBody, StatusType status)
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, while
Inactive
means it is not.public void setUserName(String userName)
The name of the user the signing certificate is associated with.
userName
- The name of the user the signing certificate is associated with.public String getUserName()
The name of the user the signing certificate is associated with.
public SigningCertificate withUserName(String userName)
The name of the user the signing certificate is associated with.
userName
- The name of the user the signing certificate is associated with.public void setCertificateId(String certificateId)
The ID for the signing certificate.
certificateId
- The ID for the signing certificate.public String getCertificateId()
The ID for the signing certificate.
public SigningCertificate withCertificateId(String certificateId)
The ID for the signing certificate.
certificateId
- The ID for the signing certificate.public void setCertificateBody(String certificateBody)
The contents of the signing certificate.
certificateBody
- The contents of the signing certificate.public String getCertificateBody()
The contents of the signing certificate.
public SigningCertificate withCertificateBody(String certificateBody)
The contents of the signing certificate.
certificateBody
- The contents of the signing certificate.public void setStatus(String status)
The status of the signing certificate. Active
means the key is valid for API calls, while
Inactive
means it is not.
status
- The status of the signing certificate. Active
means the key is valid for API calls, while
Inactive
means it is not.StatusType
public String getStatus()
The status of the signing certificate. Active
means the key is valid for API calls, while
Inactive
means it is not.
Active
means the key is valid for API calls, while
Inactive
means it is not.StatusType
public SigningCertificate withStatus(String status)
The status of the signing certificate. Active
means the key is valid for API calls, while
Inactive
means it is not.
status
- The status of the signing certificate. Active
means the key is valid for API calls, while
Inactive
means it is not.StatusType
public void setStatus(StatusType status)
The status of the signing certificate. Active
means the key is valid for API calls, while
Inactive
means it is not.
status
- The status of the signing certificate. Active
means the key is valid for API calls, while
Inactive
means it is not.StatusType
public SigningCertificate withStatus(StatusType status)
The status of the signing certificate. Active
means the key is valid for API calls, while
Inactive
means it is not.
status
- The status of the signing certificate. Active
means the key is valid for API calls, while
Inactive
means it is not.StatusType
public void setUploadDate(Date uploadDate)
The date when the signing certificate was uploaded.
uploadDate
- The date when the signing certificate was uploaded.public Date getUploadDate()
The date when the signing certificate was uploaded.
public SigningCertificate withUploadDate(Date uploadDate)
The date when the signing certificate was uploaded.
uploadDate
- The date when the signing certificate was uploaded.public String toString()
toString
in class Object
Object.toString()
public SigningCertificate clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.