public static interface SetTagsForResourceRequest.Builder extends InspectorRequest.Builder, CopyableBuilder<SetTagsForResourceRequest.Builder,SetTagsForResourceRequest>
Modifier and Type | Method and Description |
---|---|
SetTagsForResourceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
SetTagsForResourceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
SetTagsForResourceRequest.Builder |
resourceArn(String resourceArn)
The ARN of the assessment template that you want to set tags to.
|
SetTagsForResourceRequest.Builder |
tags(Collection<Tag> tags)
A collection of key and value pairs that you want to set to the assessment template.
|
SetTagsForResourceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A collection of key and value pairs that you want to set to the assessment template.
|
SetTagsForResourceRequest.Builder |
tags(Tag... tags)
A collection of key and value pairs that you want to set to the assessment template.
|
build
overrideConfiguration
copy
applyMutation, build
SetTagsForResourceRequest.Builder resourceArn(String resourceArn)
The ARN of the assessment template that you want to set tags to.
resourceArn
- The ARN of the assessment template that you want to set tags to.SetTagsForResourceRequest.Builder tags(Collection<Tag> tags)
A collection of key and value pairs that you want to set to the assessment template.
tags
- A collection of key and value pairs that you want to set to the assessment template.SetTagsForResourceRequest.Builder tags(Tag... tags)
A collection of key and value pairs that you want to set to the assessment template.
tags
- A collection of key and value pairs that you want to set to the assessment template.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 that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
SetTagsForResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SetTagsForResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.