Interface AssociateWorkspaceApplicationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AssociateWorkspaceApplicationResponse.Builder,
,AssociateWorkspaceApplicationResponse> SdkBuilder<AssociateWorkspaceApplicationResponse.Builder,
,AssociateWorkspaceApplicationResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesResponse.Builder
- Enclosing class:
AssociateWorkspaceApplicationResponse
public static interface AssociateWorkspaceApplicationResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<AssociateWorkspaceApplicationResponse.Builder,AssociateWorkspaceApplicationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociation
(Consumer<WorkspaceResourceAssociation.Builder> association) Information about the association between the specified WorkSpace and the specified application.association
(WorkspaceResourceAssociation association) Information about the association between the specified WorkSpace and the specified application.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
association
Information about the association between the specified WorkSpace and the specified application.
- Parameters:
association
- Information about the association between the specified WorkSpace and the specified application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
association
default AssociateWorkspaceApplicationResponse.Builder association(Consumer<WorkspaceResourceAssociation.Builder> association) Information about the association between the specified WorkSpace and the specified application.
This is a convenience method that creates an instance of theWorkspaceResourceAssociation.Builder
avoiding the need to create one manually viaWorkspaceResourceAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociation(WorkspaceResourceAssociation)
.- Parameters:
association
- a consumer that will call methods onWorkspaceResourceAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-