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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssociateWorkspaceApplicationResponse.Builderassociation(Consumer<WorkspaceResourceAssociation.Builder> association)Information about the association between the specified WorkSpace and the specified application.AssociateWorkspaceApplicationResponse.Builderassociation(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, 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 Detail
-
association
AssociateWorkspaceApplicationResponse.Builder association(WorkspaceResourceAssociation 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:
association(WorkspaceResourceAssociation)
-
-