|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.UpdateSigningCertificateRequest
public class UpdateSigningCertificateRequest
Container for the parameters to the UpdateSigningCertificate operation
.
Changes the status of the specified signing certificate from active to disabled, or vice versa. This action can be used to disable a User's signing certificate as part of a certificate rotation workflow.
If the UserName
field is not specified, the UserName is
determined implicitly based on the AWS Access Key ID used to sign the
request. Because this action works for access keys under the AWS
Account, this API can be used to manage root credentials even if the
AWS Account has no associated Users.
For information about rotating certificates, see Managing Keys and Certificates in Using AWS Identity and Access Management .
AmazonIdentityManagement.updateSigningCertificate(UpdateSigningCertificateRequest)
Constructor Summary | |
---|---|
UpdateSigningCertificateRequest()
|
Method Summary | |
---|---|
String |
getCertificateId()
The ID of the signing certificate you want to update. |
String |
getStatus()
The status you want to assign to the certificate. |
String |
getUserName()
Name of the User the signing certificate belongs to. |
void |
setCertificateId(String certificateId)
The ID of the signing certificate you want to update. |
void |
setStatus(String status)
The status you want to assign to the certificate. |
void |
setUserName(String userName)
Name of the User the signing certificate belongs to. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UpdateSigningCertificateRequest |
withCertificateId(String certificateId)
The ID of the signing certificate you want to update. |
UpdateSigningCertificateRequest |
withStatus(String status)
The status you want to assign to the certificate. |
UpdateSigningCertificateRequest |
withUserName(String userName)
Name of the User the signing certificate belongs to. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UpdateSigningCertificateRequest()
Method Detail |
---|
public String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the User the signing certificate belongs to.public UpdateSigningCertificateRequest withUserName(String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the User the signing certificate belongs to.
public String getCertificateId()
Constraints:
Length: 24 - 128
Pattern: [\w]*
public void setCertificateId(String certificateId)
Constraints:
Length: 24 - 128
Pattern: [\w]*
certificateId
- The ID of the signing certificate you want to update.public UpdateSigningCertificateRequest withCertificateId(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 of the signing certificate you want to update.
public String getStatus()
Active
means the certificate can be used for API calls to AWS, while
Inactive
means the certificate cannot be used.
Constraints:
Allowed Values: Active, Inactive
Active
means the certificate can be used for API calls to AWS, while
Inactive
means the certificate cannot be used.statusType
public void setStatus(String status)
Active
means the certificate can be used for API calls to AWS, while
Inactive
means the certificate cannot be used.
Constraints:
Allowed Values: Active, Inactive
status
- The status you want to assign to the certificate. Active
means the certificate can be used for API calls to AWS, while
Inactive
means the certificate cannot be used.statusType
public UpdateSigningCertificateRequest withStatus(String status)
Active
means the certificate can be used for API calls to AWS, while
Inactive
means the certificate cannot be used.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Active, Inactive
status
- The status you want to assign to the certificate. Active
means the certificate can be used for API calls to AWS, while
Inactive
means the certificate cannot be used.
statusType
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |