Interface AssociateWorkspaceApplicationResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<AssociateWorkspaceApplicationResponse.Builder,,- AssociateWorkspaceApplicationResponse> - SdkBuilder<AssociateWorkspaceApplicationResponse.Builder,,- AssociateWorkspaceApplicationResponse> - SdkPojo,- SdkResponse.Builder,- WorkSpacesResponse.Builder
- Enclosing class:
- AssociateWorkspaceApplicationResponse
@Mutable
@NotThreadSafe
public static interface AssociateWorkspaceApplicationResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<AssociateWorkspaceApplicationResponse.Builder,AssociateWorkspaceApplicationResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builderbuild, responseMetadata, responseMetadata
- 
Method Details- 
associationInformation 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.
 
- 
associationdefault 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.Builderavoiding the need to create one manually viaWorkspaceResourceAssociation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociation(WorkspaceResourceAssociation).- Parameters:
- association- a consumer that will call methods on- WorkspaceResourceAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-