Interface CreateWorkspaceBundleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateWorkspaceBundleRequest.Builder,
,CreateWorkspaceBundleRequest> SdkBuilder<CreateWorkspaceBundleRequest.Builder,
,CreateWorkspaceBundleRequest> SdkPojo
,SdkRequest.Builder
,WorkSpacesRequest.Builder
- Enclosing class:
CreateWorkspaceBundleRequest
-
Method Summary
Modifier and TypeMethodDescriptionbundleDescription
(String bundleDescription) The description of the bundle.bundleName
(String bundleName) The name of the bundle.computeType
(Consumer<ComputeType.Builder> computeType) Sets the value of the ComputeType property for this object.computeType
(ComputeType computeType) Sets the value of the ComputeType property for this object.The identifier of the image that is used to create the bundle.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.rootStorage
(Consumer<RootStorage.Builder> rootStorage) Sets the value of the RootStorage property for this object.rootStorage
(RootStorage rootStorage) Sets the value of the RootStorage property for this object.tags
(Collection<Tag> tags) The tags associated with the bundle.tags
(Consumer<Tag.Builder>... tags) The tags associated with the bundle.The tags associated with the bundle.userStorage
(Consumer<UserStorage.Builder> userStorage) Sets the value of the UserStorage property for this object.userStorage
(UserStorage userStorage) Sets the value of the UserStorage property for this object.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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesRequest.Builder
build
-
Method Details
-
bundleName
The name of the bundle.
- Parameters:
bundleName
- The name of the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleDescription
The description of the bundle.
- Parameters:
bundleDescription
- The description of the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
The identifier of the image that is used to create the bundle.
- Parameters:
imageId
- The identifier of the image that is used to create the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeType
Sets the value of the ComputeType property for this object.- Parameters:
computeType
- The new value for the ComputeType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeType
Sets the value of the ComputeType property for this object. This is a convenience method that creates an instance of theComputeType.Builder
avoiding the need to create one manually viaComputeType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputeType(ComputeType)
.- Parameters:
computeType
- a consumer that will call methods onComputeType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userStorage
Sets the value of the UserStorage property for this object.- Parameters:
userStorage
- The new value for the UserStorage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userStorage
Sets the value of the UserStorage property for this object. This is a convenience method that creates an instance of theUserStorage.Builder
avoiding the need to create one manually viaUserStorage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserStorage(UserStorage)
.- Parameters:
userStorage
- a consumer that will call methods onUserStorage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rootStorage
Sets the value of the RootStorage property for this object.- Parameters:
rootStorage
- The new value for the RootStorage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootStorage
Sets the value of the RootStorage property for this object. This is a convenience method that creates an instance of theRootStorage.Builder
avoiding the need to create one manually viaRootStorage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torootStorage(RootStorage)
.- Parameters:
rootStorage
- a consumer that will call methods onRootStorage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use
workspaces:CreateTags
.- Parameters:
tags
- The tags associated with the bundle.To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use
workspaces:CreateTags
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use
workspaces:CreateTags
.- Parameters:
tags
- The tags associated with the bundle.To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use
workspaces:CreateTags
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use
workspaces:CreateTags
.Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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
CreateWorkspaceBundleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateWorkspaceBundleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-