Interface CreateCertificateAuthorityReplicaRequest.Builder
- All Superinterfaces:
AcmPcaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateCertificateAuthorityReplicaRequest.Builder,,CreateCertificateAuthorityReplicaRequest> SdkBuilder<CreateCertificateAuthorityReplicaRequest.Builder,,CreateCertificateAuthorityReplicaRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCertificateAuthorityReplicaRequest
-
Method Summary
Modifier and TypeMethodDescriptioncertificateAuthorityArn(String certificateAuthorityArn) The Amazon Resource Name (ARN) of the primary CA to replicate.idempotencyToken(String idempotencyToken) A unique, case-sensitive string that ensures the request completes no more than one time.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.replicaRegion(String replicaRegion) The Amazon Web Services Region in which to create the replica.tags(Collection<Tag> tags) The key-value pairs to attach to the replica.tags(Consumer<Tag.Builder>... tags) The key-value pairs to attach to the replica.The key-value pairs to attach to the replica.Methods inherited from interface software.amazon.awssdk.services.acmpca.model.AcmPcaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
certificateAuthorityArn
CreateCertificateAuthorityReplicaRequest.Builder certificateAuthorityArn(String certificateAuthorityArn) The Amazon Resource Name (ARN) of the primary CA to replicate. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111- Parameters:
certificateAuthorityArn- The Amazon Resource Name (ARN) of the primary CA to replicate. This must be of the form:arn:aws:acm-pca:region:account:certificate-authority/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaRegion
The Amazon Web Services Region in which to create the replica. Specify a Region other than the Region of the primary CA. If the Region is an opt-in Region, you must enable it for your account first.
- Parameters:
replicaRegion- The Amazon Web Services Region in which to create the replica. Specify a Region other than the Region of the primary CA. If the Region is an opt-in Region, you must enable it for your account first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key-value pairs to attach to the replica. You can attach up to 50 tags to a private CA. Amazon Web Services Private CA doesn't copy the tags of the primary CA to the replica.
- Parameters:
tags- The key-value pairs to attach to the replica. You can attach up to 50 tags to a private CA. Amazon Web Services Private CA doesn't copy the tags of the primary CA to the replica.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key-value pairs to attach to the replica. You can attach up to 50 tags to a private CA. Amazon Web Services Private CA doesn't copy the tags of the primary CA to the replica.
- Parameters:
tags- The key-value pairs to attach to the replica. You can attach up to 50 tags to a private CA. Amazon Web Services Private CA doesn't copy the tags of the primary CA to the replica.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key-value pairs to attach to the replica. You can attach up to 50 tags to a private CA. Amazon Web Services Private CA doesn't copy the tags of the primary CA to the replica.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
idempotencyToken
A unique, case-sensitive string that ensures the request completes no more than one time. If this token matches a previous request, Amazon Web Services Private CA returns the same replica instead of creating another one.
If you don't specify an idempotency token, the Amazon Web Services SDK generates one for you.
- Parameters:
idempotencyToken- A unique, case-sensitive string that ensures the request completes no more than one time. If this token matches a previous request, Amazon Web Services Private CA returns the same replica instead of creating another one.If you don't specify an idempotency token, the Amazon Web Services SDK generates one for you.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCertificateAuthorityReplicaRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateCertificateAuthorityReplicaRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-