Interface ChangeTagsForResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ChangeTagsForResourceRequest.Builder,ChangeTagsForResourceRequest>,Route53Request.Builder,SdkBuilder<ChangeTagsForResourceRequest.Builder,ChangeTagsForResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ChangeTagsForResourceRequest
public static interface ChangeTagsForResourceRequest.Builder extends Route53Request.Builder, SdkPojo, CopyableBuilder<ChangeTagsForResourceRequest.Builder,ChangeTagsForResourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChangeTagsForResourceRequest.BuilderaddTags(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 editValuefor.ChangeTagsForResourceRequest.BuilderaddTags(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 editValuefor.ChangeTagsForResourceRequest.BuilderaddTags(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 editValuefor.ChangeTagsForResourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ChangeTagsForResourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ChangeTagsForResourceRequest.BuilderremoveTagKeys(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.ChangeTagsForResourceRequest.BuilderremoveTagKeys(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.ChangeTagsForResourceRequest.BuilderresourceId(String resourceId)The ID of the resource for which you want to add, change, or delete tags.ChangeTagsForResourceRequest.BuilderresourceType(String resourceType)The type of the resource.ChangeTagsForResourceRequest.BuilderresourceType(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 Detail
-
resourceType
ChangeTagsForResourceRequest.Builder resourceType(String 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:
TagResourceType,TagResourceType
-
-
resourceType
ChangeTagsForResourceRequest.Builder resourceType(TagResourceType 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:
TagResourceType,TagResourceType
-
-
resourceId
ChangeTagsForResourceRequest.Builder resourceId(String 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
ChangeTagsForResourceRequest.Builder addTags(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 edit
Valuefor.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 editValuefor.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
ChangeTagsForResourceRequest.Builder addTags(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 edit
Valuefor.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 editValuefor.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
ChangeTagsForResourceRequest.Builder 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 edit
Valuefor.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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#addTags(List.) - 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:
#addTags(java.util.Collection)
-
removeTagKeys
ChangeTagsForResourceRequest.Builder 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. 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
ChangeTagsForResourceRequest.Builder 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. 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ChangeTagsForResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-