Interface GetWorkspaceInstanceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetWorkspaceInstanceResponse.Builder,
,GetWorkspaceInstanceResponse> SdkBuilder<GetWorkspaceInstanceResponse.Builder,
,GetWorkspaceInstanceResponse> SdkPojo
,SdkResponse.Builder
,WorkspacesInstancesResponse.Builder
- Enclosing class:
GetWorkspaceInstanceResponse
-
Method Summary
Modifier and TypeMethodDescriptionec2InstanceErrors
(Collection<EC2InstanceError> ec2InstanceErrors) Includes any underlying EC2 instance errors encountered.ec2InstanceErrors
(Consumer<EC2InstanceError.Builder>... ec2InstanceErrors) Includes any underlying EC2 instance errors encountered.ec2InstanceErrors
(EC2InstanceError... ec2InstanceErrors) Includes any underlying EC2 instance errors encountered.ec2ManagedInstance
(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 WorkSpaces Instance.provisionState
(ProvisionStateEnum provisionState) Current provisioning state of the WorkSpaces Instance.workspaceInstanceErrors
(Collection<WorkspaceInstanceError> workspaceInstanceErrors) Captures any errors specific to the WorkSpace Instance lifecycle.workspaceInstanceErrors
(Consumer<WorkspaceInstanceError.Builder>... workspaceInstanceErrors) Captures any errors specific to the WorkSpace Instance lifecycle.workspaceInstanceErrors
(WorkspaceInstanceError... workspaceInstanceErrors) Captures any errors specific to the WorkSpace Instance lifecycle.workspaceInstanceId
(String workspaceInstanceId) Unique identifier of the retrieved WorkSpaces Instance.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.workspacesinstances.model.WorkspacesInstancesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
workspaceInstanceErrors
GetWorkspaceInstanceResponse.Builder workspaceInstanceErrors(Collection<WorkspaceInstanceError> workspaceInstanceErrors) Captures any errors specific to the WorkSpace Instance lifecycle.
- Parameters:
workspaceInstanceErrors
- Captures any errors specific to the WorkSpace Instance lifecycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceInstanceErrors
GetWorkspaceInstanceResponse.Builder workspaceInstanceErrors(WorkspaceInstanceError... workspaceInstanceErrors) Captures any errors specific to the WorkSpace Instance lifecycle.
- Parameters:
workspaceInstanceErrors
- Captures any errors specific to the WorkSpace Instance lifecycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceInstanceErrors
GetWorkspaceInstanceResponse.Builder workspaceInstanceErrors(Consumer<WorkspaceInstanceError.Builder>... workspaceInstanceErrors) Captures any errors specific to the WorkSpace Instance lifecycle.
This is a convenience method that creates an instance of theWorkspaceInstanceError.Builder
avoiding the need to create one manually viaWorkspaceInstanceError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkspaceInstanceErrors(List<WorkspaceInstanceError>)
.- Parameters:
workspaceInstanceErrors
- a consumer that will call methods onWorkspaceInstanceError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2InstanceErrors
GetWorkspaceInstanceResponse.Builder ec2InstanceErrors(Collection<EC2InstanceError> ec2InstanceErrors) Includes any underlying EC2 instance errors encountered.
- Parameters:
ec2InstanceErrors
- Includes any underlying EC2 instance errors encountered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2InstanceErrors
Includes any underlying EC2 instance errors encountered.
- Parameters:
ec2InstanceErrors
- Includes any underlying EC2 instance errors encountered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2InstanceErrors
GetWorkspaceInstanceResponse.Builder ec2InstanceErrors(Consumer<EC2InstanceError.Builder>... ec2InstanceErrors) Includes any underlying EC2 instance errors encountered.
This is a convenience method that creates an instance of theEC2InstanceError.Builder
avoiding the need to create one manually viaEC2InstanceError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toec2InstanceErrors(List<EC2InstanceError>)
.- Parameters:
ec2InstanceErrors
- a consumer that will call methods onEC2InstanceError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provisionState
Current provisioning state of the WorkSpaces Instance.
- Parameters:
provisionState
- Current provisioning state of the WorkSpaces Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provisionState
Current provisioning state of the WorkSpaces Instance.
- Parameters:
provisionState
- Current provisioning state of the WorkSpaces Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workspaceInstanceId
Unique identifier of the retrieved WorkSpaces Instance.
- Parameters:
workspaceInstanceId
- Unique identifier of the retrieved WorkSpaces 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 GetWorkspaceInstanceResponse.Builder ec2ManagedInstance(Consumer<EC2ManagedInstance.Builder> ec2ManagedInstance) Details of the associated EC2 managed instance.
This is a convenience method that creates an instance of theEC2ManagedInstance.Builder
avoiding the need to create one manually viaEC2ManagedInstance.builder()
.When the
Consumer
completes,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:
-