Interface WorkspaceResourceAssociation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceResourceAssociation.Builder,WorkspaceResourceAssociation>,SdkBuilder<WorkspaceResourceAssociation.Builder,WorkspaceResourceAssociation>,SdkPojo
- Enclosing class:
- WorkspaceResourceAssociation
public static interface WorkspaceResourceAssociation.Builder extends SdkPojo, CopyableBuilder<WorkspaceResourceAssociation.Builder,WorkspaceResourceAssociation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WorkspaceResourceAssociation.BuilderassociatedResourceId(String associatedResourceId)The identifier of the associated resource.WorkspaceResourceAssociation.BuilderassociatedResourceType(String associatedResourceType)The resource types of the associated resource.WorkspaceResourceAssociation.BuilderassociatedResourceType(WorkSpaceAssociatedResourceType associatedResourceType)The resource types of the associated resource.WorkspaceResourceAssociation.Buildercreated(Instant created)The time the association is created.WorkspaceResourceAssociation.BuilderlastUpdatedTime(Instant lastUpdatedTime)The time the association status was last updated.WorkspaceResourceAssociation.Builderstate(String state)The status of the WorkSpace resource association.WorkspaceResourceAssociation.Builderstate(AssociationState state)The status of the WorkSpace resource association.default WorkspaceResourceAssociation.BuilderstateReason(Consumer<AssociationStateReason.Builder> stateReason)The reason the association deployment failed.WorkspaceResourceAssociation.BuilderstateReason(AssociationStateReason stateReason)The reason the association deployment failed.WorkspaceResourceAssociation.BuilderworkspaceId(String workspaceId)The identifier of the WorkSpace.-
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
-
-
-
-
Method Detail
-
associatedResourceId
WorkspaceResourceAssociation.Builder associatedResourceId(String associatedResourceId)
The identifier of the associated resource.
- Parameters:
associatedResourceId- The identifier of the associated resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedResourceType
WorkspaceResourceAssociation.Builder associatedResourceType(String associatedResourceType)
The resource types of the associated resource.
- Parameters:
associatedResourceType- The resource types of the associated resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkSpaceAssociatedResourceType,WorkSpaceAssociatedResourceType
-
associatedResourceType
WorkspaceResourceAssociation.Builder associatedResourceType(WorkSpaceAssociatedResourceType associatedResourceType)
The resource types of the associated resource.
- Parameters:
associatedResourceType- The resource types of the associated resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkSpaceAssociatedResourceType,WorkSpaceAssociatedResourceType
-
created
WorkspaceResourceAssociation.Builder created(Instant created)
The time the association is created.
- Parameters:
created- The time the association is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
WorkspaceResourceAssociation.Builder lastUpdatedTime(Instant lastUpdatedTime)
The time the association status was last updated.
- Parameters:
lastUpdatedTime- The time the association status was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
WorkspaceResourceAssociation.Builder state(String state)
The status of the WorkSpace resource association.
- Parameters:
state- The status of the WorkSpace resource association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssociationState,AssociationState
-
state
WorkspaceResourceAssociation.Builder state(AssociationState state)
The status of the WorkSpace resource association.
- Parameters:
state- The status of the WorkSpace resource association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssociationState,AssociationState
-
stateReason
WorkspaceResourceAssociation.Builder stateReason(AssociationStateReason stateReason)
The reason the association deployment failed.
- Parameters:
stateReason- The reason the association deployment failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReason
default WorkspaceResourceAssociation.Builder stateReason(Consumer<AssociationStateReason.Builder> stateReason)
The reason the association deployment failed.
This is a convenience method that creates an instance of theAssociationStateReason.Builderavoiding the need to create one manually viaAssociationStateReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostateReason(AssociationStateReason).- Parameters:
stateReason- a consumer that will call methods onAssociationStateReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
stateReason(AssociationStateReason)
-
workspaceId
WorkspaceResourceAssociation.Builder workspaceId(String workspaceId)
The identifier of the WorkSpace.
- Parameters:
workspaceId- The identifier of the WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-