public class DeleteSigningCertificateRequest extends AmazonWebServiceRequest implements Serializable
DeleteSigningCertificate operation
.
Deletes the specified signing certificate associated with the specified user.
If you do not specify a user name, IAM determines the user name implicitly based on the AWS Access Key ID signing the request. Because this action works for access keys under the AWS account, you can use this API to manage root credentials even if the AWS account has no associated users.
Constructor and Description |
---|
DeleteSigningCertificateRequest()
Default constructor for a new DeleteSigningCertificateRequest object.
|
DeleteSigningCertificateRequest(String certificateId)
Constructs a new DeleteSigningCertificateRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCertificateId()
ID of the signing certificate to delete.
|
String |
getUserName()
Name of the user the signing certificate belongs to.
|
int |
hashCode() |
void |
setCertificateId(String certificateId)
ID of the signing certificate to delete.
|
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.
|
DeleteSigningCertificateRequest |
withCertificateId(String certificateId)
ID of the signing certificate to delete.
|
DeleteSigningCertificateRequest |
withUserName(String userName)
Name of the user the signing certificate belongs to.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DeleteSigningCertificateRequest()
public DeleteSigningCertificateRequest(String certificateId)
certificateId
- ID of the signing certificate to delete.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 DeleteSigningCertificateRequest 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
- ID of the signing certificate to delete.public DeleteSigningCertificateRequest withCertificateId(String certificateId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 24 - 128
Pattern: [\w]*
certificateId
- ID of the signing certificate to delete.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.