public class TransferCertificateRequest extends AmazonWebServiceRequest implements Serializable
TransferCertificate operation.
Transfers the specified certificate to the specified AWS account.
You can cancel the transfer until it is acknowledged by the recipient.
No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target.
The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate API to deactivate it.
The certificate must not have any policies attached to it. You can use the DetachPrincipalPolicy API to detach them.
| Constructor and Description |
|---|
TransferCertificateRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCertificateId()
The ID of the certificate.
|
String |
getTargetAwsAccount()
The AWS account.
|
int |
hashCode() |
void |
setCertificateId(String certificateId)
The ID of the certificate.
|
void |
setTargetAwsAccount(String targetAwsAccount)
The AWS account.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TransferCertificateRequest |
withCertificateId(String certificateId)
The ID of the certificate.
|
TransferCertificateRequest |
withTargetAwsAccount(String targetAwsAccount)
The AWS account.
|
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 TransferCertificateRequest 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 getTargetAwsAccount()
Constraints:
Pattern: [0-9]{12}
public void setTargetAwsAccount(String targetAwsAccount)
Constraints:
Pattern: [0-9]{12}
targetAwsAccount - The AWS account.public TransferCertificateRequest withTargetAwsAccount(String targetAwsAccount)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [0-9]{12}
targetAwsAccount - The AWS account.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.