Interface CreateWorkspacesPoolRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorkspacesPoolRequest.Builder,CreateWorkspacesPoolRequest>,SdkBuilder<CreateWorkspacesPoolRequest.Builder,CreateWorkspacesPoolRequest>,SdkPojo,SdkRequest.Builder,WorkSpacesRequest.Builder
- Enclosing class:
- CreateWorkspacesPoolRequest
public static interface CreateWorkspacesPoolRequest.Builder extends WorkSpacesRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkspacesPoolRequest.Builder,CreateWorkspacesPoolRequest>
-
-
Method Summary
-
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
-
poolName
CreateWorkspacesPoolRequest.Builder poolName(String 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
CreateWorkspacesPoolRequest.Builder description(String 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
CreateWorkspacesPoolRequest.Builder bundleId(String 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
CreateWorkspacesPoolRequest.Builder directoryId(String 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
CreateWorkspacesPoolRequest.Builder capacity(Capacity 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
default CreateWorkspacesPoolRequest.Builder capacity(Consumer<Capacity.Builder> capacity)
The user capacity of the pool.
This is a convenience method that creates an instance of theCapacity.Builderavoiding the need to create one manually viaCapacity.builder().When the
Consumercompletes,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:
capacity(Capacity)
-
tags
CreateWorkspacesPoolRequest.Builder tags(Collection<Tag> 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
CreateWorkspacesPoolRequest.Builder tags(Tag... 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
CreateWorkspacesPoolRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the pool.
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)
-
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.Builderavoiding the need to create one manually viaApplicationSettingsRequest.builder().When the
Consumercompletes,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:
applicationSettings(ApplicationSettingsRequest)
-
timeoutSettings
CreateWorkspacesPoolRequest.Builder timeoutSettings(TimeoutSettings 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.Builderavoiding the need to create one manually viaTimeoutSettings.builder().When the
Consumercompletes,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:
timeoutSettings(TimeoutSettings)
-
overrideConfiguration
CreateWorkspacesPoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateWorkspacesPoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-