Interface ChangeTagsForResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ChangeTagsForResourceRequest.Builder,
,ChangeTagsForResourceRequest> Route53Request.Builder
,SdkBuilder<ChangeTagsForResourceRequest.Builder,
,ChangeTagsForResourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ChangeTagsForResourceRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddTags
(Collection<Tag> addTags) A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to editValue
for.addTags
(Consumer<Tag.Builder>... addTags) A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to editValue
for.A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to editValue
for.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.removeTagKeys
(String... removeTagKeys) A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone.removeTagKeys
(Collection<String> removeTagKeys) A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone.resourceId
(String resourceId) The ID of the resource for which you want to add, change, or delete tags.resourceType
(String resourceType) The type of the resource.resourceType
(TagResourceType resourceType) The type of the resource.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.services.route53.model.Route53Request.Builder
build
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
-
resourceType
The type of the resource.
-
The resource type for health checks is
healthcheck
. -
The resource type for hosted zones is
hostedzone
.
- Parameters:
resourceType
- The type of the resource.-
The resource type for health checks is
healthcheck
. -
The resource type for hosted zones is
hostedzone
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
resourceType
The type of the resource.
-
The resource type for health checks is
healthcheck
. -
The resource type for hosted zones is
hostedzone
.
- Parameters:
resourceType
- The type of the resource.-
The resource type for health checks is
healthcheck
. -
The resource type for hosted zones is
hostedzone
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
resourceId
The ID of the resource for which you want to add, change, or delete tags.
- Parameters:
resourceId
- The ID of the resource for which you want to add, change, or delete tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addTags
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit
Value
for.You can add a maximum of 10 tags to a health check or a hosted zone.
- Parameters:
addTags
- A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to editValue
for.You can add a maximum of 10 tags to a health check or a hosted zone.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addTags
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit
Value
for.You can add a maximum of 10 tags to a health check or a hosted zone.
- Parameters:
addTags
- A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to editValue
for.You can add a maximum of 10 tags to a health check or a hosted zone.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addTags
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit
Value
for.You can add a maximum of 10 tags to a health check or a hosted zone.
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 toaddTags(List<Tag>)
.- Parameters:
addTags
- 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:
-
removeTagKeys
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.
- Parameters:
removeTagKeys
- A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeTagKeys
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.
- Parameters:
removeTagKeys
- A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ChangeTagsForResourceRequest.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
ChangeTagsForResourceRequest.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.
-