Interface AddTagsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddTagsRequest.Builder,AddTagsRequest>,DataPipelineRequest.Builder,SdkBuilder<AddTagsRequest.Builder,AddTagsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AddTagsRequest
public static interface AddTagsRequest.Builder extends DataPipelineRequest.Builder, SdkPojo, CopyableBuilder<AddTagsRequest.Builder,AddTagsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddTagsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AddTagsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AddTagsRequest.BuilderpipelineId(String pipelineId)The ID of the pipeline.AddTagsRequest.Buildertags(Collection<Tag> tags)The tags to add, as key/value pairs.AddTagsRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags to add, as key/value pairs.AddTagsRequest.Buildertags(Tag... tags)The tags to add, as key/value pairs.-
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.datapipeline.model.DataPipelineRequest.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
-
pipelineId
AddTagsRequest.Builder pipelineId(String pipelineId)
The ID of the pipeline.
- Parameters:
pipelineId- The ID of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
AddTagsRequest.Builder tags(Collection<Tag> tags)
The tags to add, as key/value pairs.
- Parameters:
tags- The tags to add, as key/value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
AddTagsRequest.Builder tags(Tag... tags)
The tags to add, as key/value pairs.
- Parameters:
tags- The tags to add, as key/value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
AddTagsRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to add, as key/value pairs.
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
AddTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-