Interface CreateTagsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTagsRequest.Builder,CreateTagsRequest>,SdkBuilder<CreateTagsRequest.Builder,CreateTagsRequest>,SdkPojo,SdkRequest.Builder,WorkSpacesRequest.Builder
- Enclosing class:
- CreateTagsRequest
public static interface CreateTagsRequest.Builder extends WorkSpacesRequest.Builder, SdkPojo, CopyableBuilder<CreateTagsRequest.Builder,CreateTagsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateTagsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateTagsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateTagsRequest.BuilderresourceId(String resourceId)The identifier of the WorkSpaces resource.CreateTagsRequest.Buildertags(Collection<Tag> tags)The tags.CreateTagsRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags.CreateTagsRequest.Buildertags(Tag... tags)The tags.-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesRequest.Builder
build
-
-
-
-
Method Detail
-
resourceId
CreateTagsRequest.Builder resourceId(String resourceId)
The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.
- Parameters:
resourceId- The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTagsRequest.Builder tags(Collection<Tag> tags)
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
- Parameters:
tags- The tags. Each WorkSpaces resource can have a maximum of 50 tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTagsRequest.Builder tags(Tag... tags)
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
- Parameters:
tags- The tags. Each WorkSpaces resource can have a maximum of 50 tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTagsRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
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
CreateTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-