Interface WorkSpaceApplicationDeployment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkSpaceApplicationDeployment.Builder,
,WorkSpaceApplicationDeployment> SdkBuilder<WorkSpaceApplicationDeployment.Builder,
,WorkSpaceApplicationDeployment> SdkPojo
- Enclosing class:
WorkSpaceApplicationDeployment
public static interface WorkSpaceApplicationDeployment.Builder
extends SdkPojo, CopyableBuilder<WorkSpaceApplicationDeployment.Builder,WorkSpaceApplicationDeployment>
-
Method Summary
Modifier and TypeMethodDescriptionassociations
(Collection<WorkspaceResourceAssociation> associations) The associations between the applications and the associated resources.associations
(Consumer<WorkspaceResourceAssociation.Builder>... associations) The associations between the applications and the associated resources.associations
(WorkspaceResourceAssociation... associations) The associations between the applications and the associated resources.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
-
Method Details
-
associations
WorkSpaceApplicationDeployment.Builder associations(Collection<WorkspaceResourceAssociation> associations) The associations between the applications and the associated resources.
- Parameters:
associations
- The associations between the applications and the associated resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
The associations between the applications and the associated resources.
- Parameters:
associations
- The associations between the applications and the associated resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
WorkSpaceApplicationDeployment.Builder associations(Consumer<WorkspaceResourceAssociation.Builder>... associations) The associations between the applications and the associated resources.
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 toassociations(List<WorkspaceResourceAssociation>)
.- Parameters:
associations
- 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:
-