Interface RemoveTagsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudTrailRequest.Builder,CopyableBuilder<RemoveTagsRequest.Builder,RemoveTagsRequest>,SdkBuilder<RemoveTagsRequest.Builder,RemoveTagsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RemoveTagsRequest
public static interface RemoveTagsRequest.Builder extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<RemoveTagsRequest.Builder,RemoveTagsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemoveTagsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RemoveTagsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RemoveTagsRequest.BuilderresourceId(String resourceId)Specifies the ARN of the trail, event data store, or channel from which tags should be removed.RemoveTagsRequest.BuildertagsList(Collection<Tag> tagsList)Specifies a list of tags to be removed.RemoveTagsRequest.BuildertagsList(Consumer<Tag.Builder>... tagsList)Specifies a list of tags to be removed.RemoveTagsRequest.BuildertagsList(Tag... tagsList)Specifies a list of tags to be removed.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest.Builder
build
-
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 Detail
-
resourceId
RemoveTagsRequest.Builder resourceId(String resourceId)
Specifies the ARN of the trail, event data store, or channel from which tags should be removed.
Example trail ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrailExample event data store ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLEExample channel ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890- Parameters:
resourceId- Specifies the ARN of the trail, event data store, or channel from which tags should be removed.Example trail ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrailExample event data store ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLEExample channel ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsList
RemoveTagsRequest.Builder tagsList(Collection<Tag> tagsList)
Specifies a list of tags to be removed.
- Parameters:
tagsList- Specifies a list of tags to be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsList
RemoveTagsRequest.Builder tagsList(Tag... tagsList)
Specifies a list of tags to be removed.
- Parameters:
tagsList- Specifies a list of tags to be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsList
RemoveTagsRequest.Builder tagsList(Consumer<Tag.Builder>... tagsList)
Specifies a list of tags to be removed.
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#tagsList(List.) - Parameters:
tagsList- 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:
#tagsList(java.util.Collection)
-
overrideConfiguration
RemoveTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RemoveTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-