@Generated(value="software.amazon.awssdk:codegen") public final class CreateCertificateAuthorityRequest extends AcmPcaRequest implements ToCopyableBuilder<CreateCertificateAuthorityRequest.Builder,CreateCertificateAuthorityRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateCertificateAuthorityRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateCertificateAuthorityRequest.Builder |
builder() |
CertificateAuthorityConfiguration |
certificateAuthorityConfiguration()
Name and bit size of the private key algorithm, the name of the signing algorithm, and X.500 certificate subject
information.
|
CertificateAuthorityType |
certificateAuthorityType()
The type of the certificate authority.
|
String |
certificateAuthorityTypeAsString()
The type of the certificate authority.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
idempotencyToken()
Alphanumeric string that can be used to distinguish between calls to CreateCertificateAuthority.
|
RevocationConfiguration |
revocationConfiguration()
Contains a Boolean value that you can use to enable a certification revocation list (CRL) for the CA, the name of
the S3 bucket to which ACM PCA will write the CRL, and an optional CNAME alias that you can use to hide the name
of your bucket in the CRL Distribution Points extension of your CA certificate.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateCertificateAuthorityRequest.Builder> |
serializableBuilderClass() |
CreateCertificateAuthorityRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public CertificateAuthorityConfiguration certificateAuthorityConfiguration()
Name and bit size of the private key algorithm, the name of the signing algorithm, and X.500 certificate subject information.
public RevocationConfiguration revocationConfiguration()
Contains a Boolean value that you can use to enable a certification revocation list (CRL) for the CA, the name of the S3 bucket to which ACM PCA will write the CRL, and an optional CNAME alias that you can use to hide the name of your bucket in the CRL Distribution Points extension of your CA certificate. For more information, see the CrlConfiguration structure.
public CertificateAuthorityType certificateAuthorityType()
The type of the certificate authority. Currently, this must be SUBORDINATE.
If the service returns an enum value that is not available in the current SDK version,
certificateAuthorityType
will return CertificateAuthorityType.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from certificateAuthorityTypeAsString()
.
CertificateAuthorityType
public String certificateAuthorityTypeAsString()
The type of the certificate authority. Currently, this must be SUBORDINATE.
If the service returns an enum value that is not available in the current SDK version,
certificateAuthorityType
will return CertificateAuthorityType.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from certificateAuthorityTypeAsString()
.
CertificateAuthorityType
public String idempotencyToken()
Alphanumeric string that can be used to distinguish between calls to CreateCertificateAuthority. Idempotency tokens time out after five minutes. Therefore, if you call CreateCertificateAuthority multiple times with the same idempotency token within a five minute period, ACM PCA recognizes that you are requesting only one certificate. As a result, ACM PCA issues only one. If you change the idempotency token for each call, however, ACM PCA recognizes that you are requesting multiple certificates.
public CreateCertificateAuthorityRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateCertificateAuthorityRequest.Builder,CreateCertificateAuthorityRequest>
toBuilder
in class AcmPcaRequest
public static CreateCertificateAuthorityRequest.Builder builder()
public static Class<? extends CreateCertificateAuthorityRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.