Interface UpdateTagsForResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateTagsForResourceRequest.Builder,UpdateTagsForResourceRequest>,ElasticBeanstalkRequest.Builder,SdkBuilder<UpdateTagsForResourceRequest.Builder,UpdateTagsForResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateTagsForResourceRequest
public static interface UpdateTagsForResourceRequest.Builder extends ElasticBeanstalkRequest.Builder, SdkPojo, CopyableBuilder<UpdateTagsForResourceRequest.Builder,UpdateTagsForResourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateTagsForResourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateTagsForResourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateTagsForResourceRequest.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the resouce to be updated.UpdateTagsForResourceRequest.BuildertagsToAdd(Collection<Tag> tagsToAdd)A list of tags to add or update.UpdateTagsForResourceRequest.BuildertagsToAdd(Consumer<Tag.Builder>... tagsToAdd)A list of tags to add or update.UpdateTagsForResourceRequest.BuildertagsToAdd(Tag... tagsToAdd)A list of tags to add or update.UpdateTagsForResourceRequest.BuildertagsToRemove(String... tagsToRemove)A list of tag keys to remove.UpdateTagsForResourceRequest.BuildertagsToRemove(Collection<String> tagsToRemove)A list of tag keys to remove.-
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.elasticbeanstalk.model.ElasticBeanstalkRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resourceArn
UpdateTagsForResourceRequest.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resouce to be updated.
Must be the ARN of an Elastic Beanstalk resource.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resouce to be updated.Must be the ARN of an Elastic Beanstalk resource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsToAdd
UpdateTagsForResourceRequest.Builder tagsToAdd(Collection<Tag> tagsToAdd)
A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated.
Specify at least one of these parameters:
TagsToAdd,TagsToRemove.- Parameters:
tagsToAdd- A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated.Specify at least one of these parameters:
TagsToAdd,TagsToRemove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsToAdd
UpdateTagsForResourceRequest.Builder tagsToAdd(Tag... tagsToAdd)
A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated.
Specify at least one of these parameters:
TagsToAdd,TagsToRemove.- Parameters:
tagsToAdd- A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated.Specify at least one of these parameters:
TagsToAdd,TagsToRemove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsToAdd
UpdateTagsForResourceRequest.Builder tagsToAdd(Consumer<Tag.Builder>... tagsToAdd)
A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated.
Specify at least one of these parameters:
This is a convenience method that creates an instance of theTagsToAdd,TagsToRemove.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagsToAdd(List.) - Parameters:
tagsToAdd- 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:
#tagsToAdd(java.util.Collection)
-
tagsToRemove
UpdateTagsForResourceRequest.Builder tagsToRemove(Collection<String> tagsToRemove)
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.
Specify at least one of these parameters:
TagsToAdd,TagsToRemove.- Parameters:
tagsToRemove- A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.Specify at least one of these parameters:
TagsToAdd,TagsToRemove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsToRemove
UpdateTagsForResourceRequest.Builder tagsToRemove(String... tagsToRemove)
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.
Specify at least one of these parameters:
TagsToAdd,TagsToRemove.- Parameters:
tagsToRemove- A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.Specify at least one of these parameters:
TagsToAdd,TagsToRemove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateTagsForResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateTagsForResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-