Interface CreateTagsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTagsRequest.Builder,CreateTagsRequest>,EfsRequest.Builder,SdkBuilder<CreateTagsRequest.Builder,CreateTagsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateTagsRequest
public static interface CreateTagsRequest.Builder extends EfsRequest.Builder, SdkPojo, CopyableBuilder<CreateTagsRequest.Builder,CreateTagsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateTagsRequest.BuilderfileSystemId(String fileSystemId)The ID of the file system whose tags you want to modify (String).CreateTagsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateTagsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateTagsRequest.Buildertags(Collection<Tag> tags)An array ofTagobjects to add.CreateTagsRequest.Buildertags(Consumer<Tag.Builder>... tags)An array ofTagobjects to add.CreateTagsRequest.Buildertags(Tag... tags)An array ofTagobjects to add.-
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.efs.model.EfsRequest.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
-
fileSystemId
CreateTagsRequest.Builder fileSystemId(String fileSystemId)
The ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system.
- Parameters:
fileSystemId- The ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTagsRequest.Builder tags(Collection<Tag> tags)
An array of
Tagobjects to add. EachTagobject is a key-value pair.- Parameters:
tags- An array ofTagobjects to add. EachTagobject is a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTagsRequest.Builder tags(Tag... tags)
An array of
Tagobjects to add. EachTagobject is a key-value pair.- Parameters:
tags- An array ofTagobjects to add. EachTagobject is a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTagsRequest.Builder tags(Consumer<Tag.Builder>... tags)
An array of
This is a convenience method that creates an instance of theTagobjects to add. EachTagobject is a key-value pair.Tag.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
CreateTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-