Interface TagResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<TagResourceRequest.Builder,,TagResourceRequest> SchedulerRequest.Builder,SdkBuilder<TagResourceRequest.Builder,,TagResourceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- TagResourceRequest
@Mutable
@NotThreadSafe
public static interface TagResourceRequest.Builder
extends SchedulerRequest.Builder, SdkPojo, CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the schedule group that you are adding tags to.tags(Collection<Tag> tags) The list of tags to associate with the schedule group.tags(Consumer<Tag.Builder>... tags) The list of tags to associate with the schedule group.The list of tags to associate with the schedule group.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.scheduler.model.SchedulerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceArn
The Amazon Resource Name (ARN) of the schedule group that you are adding tags to.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the schedule group that you are adding tags to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of tags to associate with the schedule group.
- Parameters:
tags- The list of tags to associate with the schedule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of tags to associate with the schedule group.
- Parameters:
tags- The list of tags to associate with the schedule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of tags to associate with the schedule group.
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 totags(List<Tag>).- 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:
-
overrideConfiguration
TagResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
TagResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-