Interface CreateStandbyWorkspacesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateStandbyWorkspacesRequest.Builder,CreateStandbyWorkspacesRequest>,SdkBuilder<CreateStandbyWorkspacesRequest.Builder,CreateStandbyWorkspacesRequest>,SdkPojo,SdkRequest.Builder,WorkSpacesRequest.Builder
- Enclosing class:
- CreateStandbyWorkspacesRequest
public static interface CreateStandbyWorkspacesRequest.Builder extends WorkSpacesRequest.Builder, SdkPojo, CopyableBuilder<CreateStandbyWorkspacesRequest.Builder,CreateStandbyWorkspacesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateStandbyWorkspacesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateStandbyWorkspacesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateStandbyWorkspacesRequest.BuilderprimaryRegion(String primaryRegion)The Region of the primary WorkSpace.CreateStandbyWorkspacesRequest.BuilderstandbyWorkspaces(Collection<StandbyWorkspace> standbyWorkspaces)Information about the standby WorkSpace to be created.CreateStandbyWorkspacesRequest.BuilderstandbyWorkspaces(Consumer<StandbyWorkspace.Builder>... standbyWorkspaces)Information about the standby WorkSpace to be created.CreateStandbyWorkspacesRequest.BuilderstandbyWorkspaces(StandbyWorkspace... standbyWorkspaces)Information about the standby WorkSpace to be created.-
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 Detail
-
primaryRegion
CreateStandbyWorkspacesRequest.Builder primaryRegion(String primaryRegion)
The Region of the primary WorkSpace.
- Parameters:
primaryRegion- The Region of the primary WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standbyWorkspaces
CreateStandbyWorkspacesRequest.Builder standbyWorkspaces(Collection<StandbyWorkspace> standbyWorkspaces)
Information about the standby WorkSpace to be created.
- Parameters:
standbyWorkspaces- Information about the standby WorkSpace to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standbyWorkspaces
CreateStandbyWorkspacesRequest.Builder standbyWorkspaces(StandbyWorkspace... standbyWorkspaces)
Information about the standby WorkSpace to be created.
- Parameters:
standbyWorkspaces- Information about the standby WorkSpace to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standbyWorkspaces
CreateStandbyWorkspacesRequest.Builder standbyWorkspaces(Consumer<StandbyWorkspace.Builder>... standbyWorkspaces)
Information about the standby WorkSpace to be created.
This is a convenience method that creates an instance of theStandbyWorkspace.Builderavoiding the need to create one manually viaStandbyWorkspace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#standbyWorkspaces(List.) - Parameters:
standbyWorkspaces- a consumer that will call methods onStandbyWorkspace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#standbyWorkspaces(java.util.Collection)
-
overrideConfiguration
CreateStandbyWorkspacesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateStandbyWorkspacesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-