public class CancelCertificateTransferRequest extends AmazonWebServiceRequest implements Serializable
Cancels a pending transfer for the specified certificate.
Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.
After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.
| Constructor and Description |
|---|
CancelCertificateTransferRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCertificateId()
The ID of the certificate.
|
int |
hashCode() |
void |
setCertificateId(String certificateId)
The ID of the certificate.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelCertificateTransferRequest |
withCertificateId(String certificateId)
The ID of the certificate.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getCertificateId()
The ID of the certificate.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
The ID of the certificate.
public void setCertificateId(String certificateId)
The ID of the certificate.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
certificateId - The ID of the certificate.
public CancelCertificateTransferRequest withCertificateId(String certificateId)
The ID of the certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
certificateId - The ID of the certificate.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.