@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportCertificateAuthorityCertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ImportCertificateAuthorityCertificateRequest() |
| Modifier and Type | Method and Description |
|---|---|
ImportCertificateAuthorityCertificateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ByteBuffer |
getCertificate()
The PEM-encoded certificate for a private CA.
|
String |
getCertificateAuthorityArn()
The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority.
|
ByteBuffer |
getCertificateChain()
A PEM-encoded file that contains all of your certificates, other than the certificate you're importing, chaining
up to your root CA.
|
int |
hashCode() |
void |
setCertificate(ByteBuffer certificate)
The PEM-encoded certificate for a private CA.
|
void |
setCertificateAuthorityArn(String certificateAuthorityArn)
The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority.
|
void |
setCertificateChain(ByteBuffer certificateChain)
A PEM-encoded file that contains all of your certificates, other than the certificate you're importing, chaining
up to your root CA.
|
String |
toString()
Returns a string representation of this object.
|
ImportCertificateAuthorityCertificateRequest |
withCertificate(ByteBuffer certificate)
The PEM-encoded certificate for a private CA.
|
ImportCertificateAuthorityCertificateRequest |
withCertificateAuthorityArn(String certificateAuthorityArn)
The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority.
|
ImportCertificateAuthorityCertificateRequest |
withCertificateChain(ByteBuffer certificateChain)
A PEM-encoded file that contains all of your certificates, other than the certificate you're importing, chaining
up to your root CA.
|
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 ImportCertificateAuthorityCertificateRequest()
public void setCertificateAuthorityArn(String certificateAuthorityArn)
The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
certificateAuthorityArn - The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
public String getCertificateAuthorityArn()
The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
public ImportCertificateAuthorityCertificateRequest withCertificateAuthorityArn(String certificateAuthorityArn)
The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
certificateAuthorityArn - The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
public void setCertificate(ByteBuffer certificate)
The PEM-encoded certificate for a private CA. This may be a self-signed certificate in the case of a root CA, or it may be signed by another CA that you control.
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 PEM-encoded certificate for a private CA. This may be a self-signed certificate in the case of a root
CA, or it may be signed by another CA that you control.public ByteBuffer getCertificate()
The PEM-encoded certificate for a private CA. This may be a self-signed certificate in the case of a root CA, or it may be signed by another CA that you control.
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 ImportCertificateAuthorityCertificateRequest withCertificate(ByteBuffer certificate)
The PEM-encoded certificate for a private CA. This may be a self-signed certificate in the case of a root CA, or it may be signed by another CA that you control.
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 PEM-encoded certificate for a private CA. This may be a self-signed certificate in the case of a root
CA, or it may be signed by another CA that you control.public void setCertificateChain(ByteBuffer certificateChain)
A PEM-encoded file that contains all of your certificates, other than the certificate you're importing, chaining up to your root CA. Your Amazon Web Services Private CA-hosted or on-premises root certificate is the last in the chain, and each certificate in the chain signs the one preceding.
This parameter must be supplied when you import a subordinate CA. When you import a root CA, there is no 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 - A PEM-encoded file that contains all of your certificates, other than the certificate you're importing,
chaining up to your root CA. Your Amazon Web Services Private CA-hosted or on-premises root certificate is
the last in the chain, and each certificate in the chain signs the one preceding.
This parameter must be supplied when you import a subordinate CA. When you import a root CA, there is no chain.
public ByteBuffer getCertificateChain()
A PEM-encoded file that contains all of your certificates, other than the certificate you're importing, chaining up to your root CA. Your Amazon Web Services Private CA-hosted or on-premises root certificate is the last in the chain, and each certificate in the chain signs the one preceding.
This parameter must be supplied when you import a subordinate CA. When you import a root CA, there is no 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.
This parameter must be supplied when you import a subordinate CA. When you import a root CA, there is no chain.
public ImportCertificateAuthorityCertificateRequest withCertificateChain(ByteBuffer certificateChain)
A PEM-encoded file that contains all of your certificates, other than the certificate you're importing, chaining up to your root CA. Your Amazon Web Services Private CA-hosted or on-premises root certificate is the last in the chain, and each certificate in the chain signs the one preceding.
This parameter must be supplied when you import a subordinate CA. When you import a root CA, there is no 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 - A PEM-encoded file that contains all of your certificates, other than the certificate you're importing,
chaining up to your root CA. Your Amazon Web Services Private CA-hosted or on-premises root certificate is
the last in the chain, and each certificate in the chain signs the one preceding.
This parameter must be supplied when you import a subordinate CA. When you import a root CA, there is no chain.
public String toString()
toString in class ObjectObject.toString()public ImportCertificateAuthorityCertificateRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()