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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.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 onWorkspaceResourceAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-