Interface DeployWorkspaceApplicationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeployWorkspaceApplicationsResponse.Builder,
,DeployWorkspaceApplicationsResponse> SdkBuilder<DeployWorkspaceApplicationsResponse.Builder,
,DeployWorkspaceApplicationsResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesResponse.Builder
- Enclosing class:
DeployWorkspaceApplicationsResponse
@Mutable
@NotThreadSafe
public static interface DeployWorkspaceApplicationsResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<DeployWorkspaceApplicationsResponse.Builder,DeployWorkspaceApplicationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeployment
(Consumer<WorkSpaceApplicationDeployment.Builder> deployment) The list of deployed associations and information about them.deployment
(WorkSpaceApplicationDeployment deployment) The list of deployed associations and information about them.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.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
deployment
The list of deployed associations and information about them.
- Parameters:
deployment
- The list of deployed associations and information about them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployment
default DeployWorkspaceApplicationsResponse.Builder deployment(Consumer<WorkSpaceApplicationDeployment.Builder> deployment) The list of deployed associations and information about them.
This is a convenience method that creates an instance of theWorkSpaceApplicationDeployment.Builder
avoiding the need to create one manually viaWorkSpaceApplicationDeployment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeployment(WorkSpaceApplicationDeployment)
.- Parameters:
deployment
- a consumer that will call methods onWorkSpaceApplicationDeployment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-