public class RejectCertificateTransferRequest extends AmazonWebServiceRequest implements Serializable
RejectCertificateTransfer operation.
Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANFER to INACTIVE .
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.
| Constructor and Description |
|---|
RejectCertificateTransferRequest() |
| 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.
|
RejectCertificateTransferRequest |
withCertificateId(String certificateId)
The ID of the certificate.
|
getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic String getCertificateId()
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
public void setCertificateId(String certificateId)
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
certificateId - The ID of the certificate.public RejectCertificateTransferRequest withCertificateId(String certificateId)
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 © 2016. All rights reserved.