Interface SetTagsForResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SetTagsForResourceRequest.Builder,SetTagsForResourceRequest>,InspectorRequest.Builder,SdkBuilder<SetTagsForResourceRequest.Builder,SetTagsForResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SetTagsForResourceRequest
public static interface SetTagsForResourceRequest.Builder extends InspectorRequest.Builder, SdkPojo, CopyableBuilder<SetTagsForResourceRequest.Builder,SetTagsForResourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetTagsForResourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SetTagsForResourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SetTagsForResourceRequest.BuilderresourceArn(String resourceArn)The ARN of the assessment template that you want to set tags to.SetTagsForResourceRequest.Buildertags(Collection<Tag> tags)A collection of key and value pairs that you want to set to the assessment template.SetTagsForResourceRequest.Buildertags(Consumer<Tag.Builder>... tags)A collection of key and value pairs that you want to set to the assessment template.SetTagsForResourceRequest.Buildertags(Tag... tags)A collection of key and value pairs that you want to set to the assessment template.-
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.inspector.model.InspectorRequest.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
-
resourceArn
SetTagsForResourceRequest.Builder resourceArn(String resourceArn)
The ARN of the assessment template that you want to set tags to.
- Parameters:
resourceArn- The ARN of the assessment template that you want to set tags to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
SetTagsForResourceRequest.Builder tags(Collection<Tag> tags)
A collection of key and value pairs that you want to set to the assessment template.
- Parameters:
tags- A collection of key and value pairs that you want to set to the assessment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
SetTagsForResourceRequest.Builder tags(Tag... tags)
A collection of key and value pairs that you want to set to the assessment template.
- Parameters:
tags- A collection of key and value pairs that you want to set to the assessment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
SetTagsForResourceRequest.Builder tags(Consumer<Tag.Builder>... tags)
A collection of key and value pairs that you want to set to the assessment template.
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#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
SetTagsForResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SetTagsForResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-