Interface AddTagsToCertificateRequest.Builder
- All Superinterfaces:
AcmRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<AddTagsToCertificateRequest.Builder,
,AddTagsToCertificateRequest> SdkBuilder<AddTagsToCertificateRequest.Builder,
,AddTagsToCertificateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddTagsToCertificateRequest
-
Method Summary
Modifier and TypeMethodDescriptioncertificateArn
(String certificateArn) String that contains the ARN of the ACM certificate to which the tag is to be applied.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) The key-value pair that defines the tag.tags
(Consumer<Tag.Builder>... tags) The key-value pair that defines the tag.The key-value pair that defines the tag.Methods inherited from interface software.amazon.awssdk.services.acm.model.AcmRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
certificateArn
String that contains the ARN of the ACM certificate to which the tag is to be applied. This must be of the form:
arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
For more information about ARNs, see Amazon Resource Names (ARNs).
- Parameters:
certificateArn
- String that contains the ARN of the ACM certificate to which the tag is to be applied. This must be of the form:arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
For more information about ARNs, see Amazon Resource Names (ARNs).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key-value pair that defines the tag. The tag value is optional.
- Parameters:
tags
- The key-value pair that defines the tag. The tag value is optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key-value pair that defines the tag. The tag value is optional.
- Parameters:
tags
- The key-value pair that defines the tag. The tag value is optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key-value pair that defines the tag. The tag value is optional.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
AddTagsToCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddTagsToCertificateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-