@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
idempotencyToken()
Custom string that can be used to distinguish between calls to the CreateCertificateAuthority action.
|
KeyStorageSecurityStandard |
keyStorageSecurityStandard()
Specifies a cryptographic key management compliance standard used for handling CA keys.
|
String |
keyStorageSecurityStandardAsString()
Specifies a cryptographic key management compliance standard used for handling CA keys.
|
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 Private CA 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() |
List<Tag> |
tags()
Key-value pairs that will be attached to the new private CA.
|
CreateCertificateAuthorityRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CertificateAuthorityConfiguration certificateAuthorityConfiguration()
Name and bit size of the private key algorithm, the name of the signing algorithm, and X.500 certificate subject information.
public final 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 Private CA 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 final CertificateAuthorityType certificateAuthorityType()
The type of the certificate authority.
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().
CertificateAuthorityTypepublic final String certificateAuthorityTypeAsString()
The type of the certificate authority.
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().
CertificateAuthorityTypepublic final String idempotencyToken()
Custom string that can be used to distinguish between calls to the CreateCertificateAuthority action. Idempotency tokens for CreateCertificateAuthority time out after five minutes. Therefore, if you call CreateCertificateAuthority multiple times with the same idempotency token within five minutes, ACM Private CA recognizes that you are requesting only certificate authority and will issue only one. If you change the idempotency token for each call, PCA recognizes that you are requesting multiple certificate authorities.
public final KeyStorageSecurityStandard keyStorageSecurityStandard()
Specifies a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: FIPS_140_2_LEVEL_3_OR_HIGHER is not supported in Region ap-northeast-3. When creating a CA in
the ap-northeast-3, you must provide FIPS_140_2_LEVEL_2_OR_HIGHER as the argument for
KeyStorageSecurityStandard. Failure to do this results in an InvalidArgsException with
the message, "A certificate authority cannot be created in this region with the specified security standard."
If the service returns an enum value that is not available in the current SDK version,
keyStorageSecurityStandard will return KeyStorageSecurityStandard.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from keyStorageSecurityStandardAsString().
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: FIPS_140_2_LEVEL_3_OR_HIGHER is not supported in Region ap-northeast-3. When creating
a CA in the ap-northeast-3, you must provide FIPS_140_2_LEVEL_2_OR_HIGHER as the argument
for KeyStorageSecurityStandard. Failure to do this results in an
InvalidArgsException with the message,
"A certificate authority cannot be created in this region with the specified security standard."
KeyStorageSecurityStandardpublic final String keyStorageSecurityStandardAsString()
Specifies a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: FIPS_140_2_LEVEL_3_OR_HIGHER is not supported in Region ap-northeast-3. When creating a CA in
the ap-northeast-3, you must provide FIPS_140_2_LEVEL_2_OR_HIGHER as the argument for
KeyStorageSecurityStandard. Failure to do this results in an InvalidArgsException with
the message, "A certificate authority cannot be created in this region with the specified security standard."
If the service returns an enum value that is not available in the current SDK version,
keyStorageSecurityStandard will return KeyStorageSecurityStandard.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from keyStorageSecurityStandardAsString().
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: FIPS_140_2_LEVEL_3_OR_HIGHER is not supported in Region ap-northeast-3. When creating
a CA in the ap-northeast-3, you must provide FIPS_140_2_LEVEL_2_OR_HIGHER as the argument
for KeyStorageSecurityStandard. Failure to do this results in an
InvalidArgsException with the message,
"A certificate authority cannot be created in this region with the specified security standard."
KeyStorageSecurityStandardpublic final boolean hasTags()
public final List<Tag> tags()
Key-value pairs that will be attached to the new private CA. You can associate up to 50 tags with a private CA. For information using tags with IAM to manage permissions, see Controlling Access Using IAM Tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public CreateCertificateAuthorityRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateCertificateAuthorityRequest.Builder,CreateCertificateAuthorityRequest>toBuilder in class AcmPcaRequestpublic static CreateCertificateAuthorityRequest.Builder builder()
public static Class<? extends CreateCertificateAuthorityRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.