@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() |
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.
|
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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.
|
addHandlerContext, copyBaseTo, 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 String toString()
toString in class ObjectObject.toString()public ImportCertificateRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.