Interface CreateWorkspacesPoolRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateWorkspacesPoolRequest.Builder,
,CreateWorkspacesPoolRequest> SdkBuilder<CreateWorkspacesPoolRequest.Builder,
,CreateWorkspacesPoolRequest> SdkPojo
,SdkRequest.Builder
,WorkSpacesRequest.Builder
- Enclosing class:
CreateWorkspacesPoolRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationSettings
(Consumer<ApplicationSettingsRequest.Builder> applicationSettings) Indicates the application settings of the pool.applicationSettings
(ApplicationSettingsRequest applicationSettings) Indicates the application settings of the pool.The identifier of the bundle for the pool.capacity
(Consumer<Capacity.Builder> capacity) The user capacity of the pool.The user capacity of the pool.description
(String description) The pool description.directoryId
(String directoryId) The identifier of the directory for the pool.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the pool.runningMode
(String runningMode) The running mode for the pool.runningMode
(PoolsRunningMode runningMode) The running mode for the pool.tags
(Collection<Tag> tags) The tags for the pool.tags
(Consumer<Tag.Builder>... tags) The tags for the pool.The tags for the pool.timeoutSettings
(Consumer<TimeoutSettings.Builder> timeoutSettings) Indicates the timeout settings of the pool.timeoutSettings
(TimeoutSettings timeoutSettings) Indicates the timeout settings of the pool.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 Details
-
poolName
The name of the pool.
- Parameters:
poolName
- The name of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The pool description.
- Parameters:
description
- The pool description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleId
The identifier of the bundle for the pool.
- Parameters:
bundleId
- The identifier of the bundle for the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directoryId
The identifier of the directory for the pool.
- Parameters:
directoryId
- The identifier of the directory for the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacity
The user capacity of the pool.
- Parameters:
capacity
- The user capacity of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacity
The user capacity of the pool.
This is a convenience method that creates an instance of theCapacity.Builder
avoiding the need to create one manually viaCapacity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacity(Capacity)
.- Parameters:
capacity
- a consumer that will call methods onCapacity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags for the pool.
- Parameters:
tags
- The tags for the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the pool.
- Parameters:
tags
- The tags for the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the pool.
This is a convenience method that creates an instance of theTag.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:
-
applicationSettings
CreateWorkspacesPoolRequest.Builder applicationSettings(ApplicationSettingsRequest applicationSettings) Indicates the application settings of the pool.
- Parameters:
applicationSettings
- Indicates the application settings of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationSettings
default CreateWorkspacesPoolRequest.Builder applicationSettings(Consumer<ApplicationSettingsRequest.Builder> applicationSettings) Indicates the application settings of the pool.
This is a convenience method that creates an instance of theApplicationSettingsRequest.Builder
avoiding the need to create one manually viaApplicationSettingsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationSettings(ApplicationSettingsRequest)
.- Parameters:
applicationSettings
- a consumer that will call methods onApplicationSettingsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeoutSettings
Indicates the timeout settings of the pool.
- Parameters:
timeoutSettings
- Indicates the timeout settings of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutSettings
default CreateWorkspacesPoolRequest.Builder timeoutSettings(Consumer<TimeoutSettings.Builder> timeoutSettings) Indicates the timeout settings of the pool.
This is a convenience method that creates an instance of theTimeoutSettings.Builder
avoiding the need to create one manually viaTimeoutSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeoutSettings(TimeoutSettings)
.- Parameters:
timeoutSettings
- a consumer that will call methods onTimeoutSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runningMode
The running mode for the pool.
- Parameters:
runningMode
- The running mode for the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runningMode
The running mode for the pool.
- Parameters:
runningMode
- The running mode for the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateWorkspacesPoolRequest.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
CreateWorkspacesPoolRequest.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.
-