@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportCertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ImportCertificateRequest() |
| Modifier and Type | Method and Description |
|---|---|
ImportCertificateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ByteBuffer |
getCertificate()
The certificate to import.
|
String |
getCertificateArn()
The Amazon Resource Name
(ARN) of an imported certificate to replace.
|
ByteBuffer |
getCertificateChain()
The PEM encoded certificate chain.
|
ByteBuffer |
getPrivateKey()
The private key that matches the public key in the certificate.
|
List<Tag> |
getTags()
One or more resource tags to associate with the imported certificate.
|
int |
hashCode() |
void |
setCertificate(ByteBuffer certificate)
The certificate to import.
|
void |
setCertificateArn(String certificateArn)
The Amazon Resource Name
(ARN) of an imported certificate to replace.
|
void |
setCertificateChain(ByteBuffer certificateChain)
The PEM encoded certificate chain.
|
void |
setPrivateKey(ByteBuffer privateKey)
The private key that matches the public key in the certificate.
|
void |
setTags(Collection<Tag> tags)
One or more resource tags to associate with the imported certificate.
|
String |
toString()
Returns a string representation of this object.
|
ImportCertificateRequest |
withCertificate(ByteBuffer certificate)
The certificate to import.
|
ImportCertificateRequest |
withCertificateArn(String certificateArn)
The Amazon Resource Name
(ARN) of an imported certificate to replace.
|
ImportCertificateRequest |
withCertificateChain(ByteBuffer certificateChain)
The PEM encoded certificate chain.
|
ImportCertificateRequest |
withPrivateKey(ByteBuffer privateKey)
The private key that matches the public key in the certificate.
|
ImportCertificateRequest |
withTags(Collection<Tag> tags)
One or more resource tags to associate with the imported certificate.
|
ImportCertificateRequest |
withTags(Tag... tags)
One or more resource tags to associate with the imported certificate.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.
certificateArn - The Amazon Resource
Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.public String getCertificateArn()
The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.
public ImportCertificateRequest withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.
certificateArn - The Amazon Resource
Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.public void setCertificate(ByteBuffer certificate)
The certificate to import.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
certificate - The certificate to import.public ByteBuffer getCertificate()
The certificate to import.
ByteBuffers are stateful. Calling their get methods changes their position. We recommend
using ByteBuffer.asReadOnlyBuffer() to create a read-only view of the buffer with an independent
position, and calling get methods on this rather than directly on the returned ByteBuffer.
Doing so will ensure that anyone else using the ByteBuffer will not be affected by changes to the
position.
public ImportCertificateRequest withCertificate(ByteBuffer certificate)
The certificate to import.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
certificate - The certificate to import.public void setPrivateKey(ByteBuffer privateKey)
The private key that matches the public key in the certificate.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
privateKey - The private key that matches the public key in the certificate.public ByteBuffer getPrivateKey()
The private key that matches the public key in the certificate.
ByteBuffers are stateful. Calling their get methods changes their position. We recommend
using ByteBuffer.asReadOnlyBuffer() to create a read-only view of the buffer with an independent
position, and calling get methods on this rather than directly on the returned ByteBuffer.
Doing so will ensure that anyone else using the ByteBuffer will not be affected by changes to the
position.
public ImportCertificateRequest withPrivateKey(ByteBuffer privateKey)
The private key that matches the public key in the certificate.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
privateKey - The private key that matches the public key in the certificate.public void setCertificateChain(ByteBuffer certificateChain)
The PEM encoded certificate chain.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
certificateChain - The PEM encoded certificate chain.public ByteBuffer getCertificateChain()
The PEM encoded certificate chain.
ByteBuffers are stateful. Calling their get methods changes their position. We recommend
using ByteBuffer.asReadOnlyBuffer() to create a read-only view of the buffer with an independent
position, and calling get methods on this rather than directly on the returned ByteBuffer.
Doing so will ensure that anyone else using the ByteBuffer will not be affected by changes to the
position.
public ImportCertificateRequest withCertificateChain(ByteBuffer certificateChain)
The PEM encoded certificate chain.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
certificateChain - The PEM encoded certificate chain.public List<Tag> getTags()
One or more resource tags to associate with the imported certificate.
Note: You cannot apply tags when reimporting a certificate.
Note: You cannot apply tags when reimporting a certificate.
public void setTags(Collection<Tag> tags)
One or more resource tags to associate with the imported certificate.
Note: You cannot apply tags when reimporting a certificate.
tags - One or more resource tags to associate with the imported certificate.
Note: You cannot apply tags when reimporting a certificate.
public ImportCertificateRequest withTags(Tag... tags)
One or more resource tags to associate with the imported certificate.
Note: You cannot apply tags when reimporting a certificate.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - One or more resource tags to associate with the imported certificate.
Note: You cannot apply tags when reimporting a certificate.
public ImportCertificateRequest withTags(Collection<Tag> tags)
One or more resource tags to associate with the imported certificate.
Note: You cannot apply tags when reimporting a certificate.
tags - One or more resource tags to associate with the imported certificate.
Note: You cannot apply tags when reimporting a certificate.
public String toString()
toString in class ObjectObject.toString()public ImportCertificateRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()