public class RejectCertificateTransferRequest extends AmazonWebServiceRequest implements Serializable
Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER 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.
|
String |
getRejectReason()
The reason the certificate transfer was rejected.
|
int |
hashCode() |
void |
setCertificateId(String certificateId)
The ID of the certificate.
|
void |
setRejectReason(String rejectReason)
The reason the certificate transfer was rejected.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RejectCertificateTransferRequest |
withCertificateId(String certificateId)
The ID of the certificate.
|
RejectCertificateTransferRequest |
withRejectReason(String rejectReason)
The reason the certificate transfer was rejected.
|
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 RejectCertificateTransferRequest 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 getRejectReason()
The reason the certificate transfer was rejected.
Constraints:
Length: - 128
The reason the certificate transfer was rejected.
public void setRejectReason(String rejectReason)
The reason the certificate transfer was rejected.
Constraints:
Length: - 128
rejectReason - The reason the certificate transfer was rejected.
public RejectCertificateTransferRequest withRejectReason(String rejectReason)
The reason the certificate transfer was rejected.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 128
rejectReason - The reason the certificate transfer was rejected.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.