@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) |
String |
getCertificateIdentifier()
A customer-assigned name for the certificate.
|
String |
getCertificatePem()
The contents of a
.pem file, which contains an X.509 certificate. |
ByteBuffer |
getCertificateWallet()
The location of an imported Oracle Wallet certificate for use with SSL.
|
List<Tag> |
getTags()
The tags associated with the certificate.
|
int |
hashCode() |
void |
setCertificateIdentifier(String certificateIdentifier)
A customer-assigned name for the certificate.
|
void |
setCertificatePem(String certificatePem)
The contents of a
.pem file, which contains an X.509 certificate. |
void |
setCertificateWallet(ByteBuffer certificateWallet)
The location of an imported Oracle Wallet certificate for use with SSL.
|
void |
setTags(Collection<Tag> tags)
The tags associated with the certificate.
|
String |
toString()
Returns a string representation of this object.
|
ImportCertificateRequest |
withCertificateIdentifier(String certificateIdentifier)
A customer-assigned name for the certificate.
|
ImportCertificateRequest |
withCertificatePem(String certificatePem)
The contents of a
.pem file, which contains an X.509 certificate. |
ImportCertificateRequest |
withCertificateWallet(ByteBuffer certificateWallet)
The location of an imported Oracle Wallet certificate for use with SSL.
|
ImportCertificateRequest |
withTags(Collection<Tag> tags)
The tags associated with the certificate.
|
ImportCertificateRequest |
withTags(Tag... tags)
The tags associated with the 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, withSdkRequestTimeout
public void setCertificateIdentifier(String certificateIdentifier)
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
certificateIdentifier
- A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only
ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.public String getCertificateIdentifier()
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
public ImportCertificateRequest withCertificateIdentifier(String certificateIdentifier)
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
certificateIdentifier
- A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only
ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.public void setCertificatePem(String certificatePem)
The contents of a .pem
file, which contains an X.509 certificate.
certificatePem
- The contents of a .pem
file, which contains an X.509 certificate.public String getCertificatePem()
The contents of a .pem
file, which contains an X.509 certificate.
.pem
file, which contains an X.509 certificate.public ImportCertificateRequest withCertificatePem(String certificatePem)
The contents of a .pem
file, which contains an X.509 certificate.
certificatePem
- The contents of a .pem
file, which contains an X.509 certificate.public void setCertificateWallet(ByteBuffer certificateWallet)
The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso
file using the fileb://
prefix. You can't provide the certificate inline.
Example: filebase64("${path.root}/rds-ca-2019-root.sso")
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.
certificateWallet
- The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a
.sso
file using the fileb://
prefix. You can't provide the certificate
inline.
Example: filebase64("${path.root}/rds-ca-2019-root.sso")
public ByteBuffer getCertificateWallet()
The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso
file using the fileb://
prefix. You can't provide the certificate inline.
Example: filebase64("${path.root}/rds-ca-2019-root.sso")
ByteBuffer
s 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
.
.sso
file using the fileb://
prefix. You can't provide the certificate
inline.
Example: filebase64("${path.root}/rds-ca-2019-root.sso")
public ImportCertificateRequest withCertificateWallet(ByteBuffer certificateWallet)
The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso
file using the fileb://
prefix. You can't provide the certificate inline.
Example: filebase64("${path.root}/rds-ca-2019-root.sso")
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.
certificateWallet
- The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a
.sso
file using the fileb://
prefix. You can't provide the certificate
inline.
Example: filebase64("${path.root}/rds-ca-2019-root.sso")
public List<Tag> getTags()
The tags associated with the certificate.
public void setTags(Collection<Tag> tags)
The tags associated with the certificate.
tags
- The tags associated with the certificate.public ImportCertificateRequest withTags(Tag... tags)
The tags associated with the 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
- The tags associated with the certificate.public ImportCertificateRequest withTags(Collection<Tag> tags)
The tags associated with the certificate.
tags
- The tags associated with the certificate.public String toString()
toString
in class Object
Object.toString()
public ImportCertificateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()