Interface WorkspaceInstance.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceInstance.Builder,,WorkspaceInstance> SdkBuilder<WorkspaceInstance.Builder,,WorkspaceInstance> SdkPojo
- Enclosing class:
WorkspaceInstance
@Mutable
@NotThreadSafe
public static interface WorkspaceInstance.Builder
extends SdkPojo, CopyableBuilder<WorkspaceInstance.Builder,WorkspaceInstance>
-
Method Summary
Modifier and TypeMethodDescriptiondefault WorkspaceInstance.Builderec2ManagedInstance(Consumer<EC2ManagedInstance.Builder> ec2ManagedInstance) Details of the associated EC2 managed instance.ec2ManagedInstance(EC2ManagedInstance ec2ManagedInstance) Details of the associated EC2 managed instance.provisionState(String provisionState) Current provisioning state of the WorkSpace Instance.provisionState(ProvisionStateEnum provisionState) Current provisioning state of the WorkSpace Instance.workspaceInstanceId(String workspaceInstanceId) Unique identifier for the WorkSpace Instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
provisionState
Current provisioning state of the WorkSpace Instance.
- Parameters:
provisionState- Current provisioning state of the WorkSpace Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provisionState
Current provisioning state of the WorkSpace Instance.
- Parameters:
provisionState- Current provisioning state of the WorkSpace Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workspaceInstanceId
Unique identifier for the WorkSpace Instance.
- Parameters:
workspaceInstanceId- Unique identifier for the WorkSpace Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2ManagedInstance
Details of the associated EC2 managed instance.
- Parameters:
ec2ManagedInstance- Details of the associated EC2 managed instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2ManagedInstance
default WorkspaceInstance.Builder ec2ManagedInstance(Consumer<EC2ManagedInstance.Builder> ec2ManagedInstance) Details of the associated EC2 managed instance.
This is a convenience method that creates an instance of theEC2ManagedInstance.Builderavoiding the need to create one manually viaEC2ManagedInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2ManagedInstance(EC2ManagedInstance).- Parameters:
ec2ManagedInstance- a consumer that will call methods onEC2ManagedInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-