@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportCrlRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ImportCrlRequest() |
Modifier and Type | Method and Description |
---|---|
ImportCrlRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ByteBuffer |
getCrlData()
The x509 v3 specified certificate revocation list (CRL).
|
Boolean |
getEnabled()
Specifies whether the certificate revocation list (CRL) is enabled.
|
String |
getName()
The name of the certificate revocation list (CRL).
|
List<Tag> |
getTags()
A list of tags to attach to the certificate revocation list (CRL).
|
String |
getTrustAnchorArn()
The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether the certificate revocation list (CRL) is enabled.
|
void |
setCrlData(ByteBuffer crlData)
The x509 v3 specified certificate revocation list (CRL).
|
void |
setEnabled(Boolean enabled)
Specifies whether the certificate revocation list (CRL) is enabled.
|
void |
setName(String name)
The name of the certificate revocation list (CRL).
|
void |
setTags(Collection<Tag> tags)
A list of tags to attach to the certificate revocation list (CRL).
|
void |
setTrustAnchorArn(String trustAnchorArn)
The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
|
String |
toString()
Returns a string representation of this object.
|
ImportCrlRequest |
withCrlData(ByteBuffer crlData)
The x509 v3 specified certificate revocation list (CRL).
|
ImportCrlRequest |
withEnabled(Boolean enabled)
Specifies whether the certificate revocation list (CRL) is enabled.
|
ImportCrlRequest |
withName(String name)
The name of the certificate revocation list (CRL).
|
ImportCrlRequest |
withTags(Collection<Tag> tags)
A list of tags to attach to the certificate revocation list (CRL).
|
ImportCrlRequest |
withTags(Tag... tags)
A list of tags to attach to the certificate revocation list (CRL).
|
ImportCrlRequest |
withTrustAnchorArn(String trustAnchorArn)
The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
|
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 setCrlData(ByteBuffer crlData)
The x509 v3 specified certificate revocation list (CRL).
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.
crlData
- The x509 v3 specified certificate revocation list (CRL).public ByteBuffer getCrlData()
The x509 v3 specified certificate revocation list (CRL).
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
.
public ImportCrlRequest withCrlData(ByteBuffer crlData)
The x509 v3 specified certificate revocation list (CRL).
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.
crlData
- The x509 v3 specified certificate revocation list (CRL).public void setEnabled(Boolean enabled)
Specifies whether the certificate revocation list (CRL) is enabled.
enabled
- Specifies whether the certificate revocation list (CRL) is enabled.public Boolean getEnabled()
Specifies whether the certificate revocation list (CRL) is enabled.
public ImportCrlRequest withEnabled(Boolean enabled)
Specifies whether the certificate revocation list (CRL) is enabled.
enabled
- Specifies whether the certificate revocation list (CRL) is enabled.public Boolean isEnabled()
Specifies whether the certificate revocation list (CRL) is enabled.
public void setName(String name)
The name of the certificate revocation list (CRL).
name
- The name of the certificate revocation list (CRL).public String getName()
The name of the certificate revocation list (CRL).
public ImportCrlRequest withName(String name)
The name of the certificate revocation list (CRL).
name
- The name of the certificate revocation list (CRL).public List<Tag> getTags()
A list of tags to attach to the certificate revocation list (CRL).
public void setTags(Collection<Tag> tags)
A list of tags to attach to the certificate revocation list (CRL).
tags
- A list of tags to attach to the certificate revocation list (CRL).public ImportCrlRequest withTags(Tag... tags)
A list of tags to attach to the certificate revocation list (CRL).
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
- A list of tags to attach to the certificate revocation list (CRL).public ImportCrlRequest withTags(Collection<Tag> tags)
A list of tags to attach to the certificate revocation list (CRL).
tags
- A list of tags to attach to the certificate revocation list (CRL).public void setTrustAnchorArn(String trustAnchorArn)
The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
trustAnchorArn
- The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.public String getTrustAnchorArn()
The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
public ImportCrlRequest withTrustAnchorArn(String trustAnchorArn)
The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
trustAnchorArn
- The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.public String toString()
toString
in class Object
Object.toString()
public ImportCrlRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()