Interface WorkspaceDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceDescription.Builder,WorkspaceDescription>,SdkBuilder<WorkspaceDescription.Builder,WorkspaceDescription>,SdkPojo
- Enclosing class:
- WorkspaceDescription
public static interface WorkspaceDescription.Builder extends SdkPojo, CopyableBuilder<WorkspaceDescription.Builder,WorkspaceDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WorkspaceDescription.Builderalias(String alias)Alias of this workspace.WorkspaceDescription.Builderarn(String arn)The Amazon Resource Name (ARN) of this workspace.WorkspaceDescription.BuildercreatedAt(Instant createdAt)The time when the workspace was created.WorkspaceDescription.BuilderprometheusEndpoint(String prometheusEndpoint)Prometheus endpoint URI.default WorkspaceDescription.Builderstatus(Consumer<WorkspaceStatus.Builder> status)The status of this workspace.WorkspaceDescription.Builderstatus(WorkspaceStatus status)The status of this workspace.WorkspaceDescription.Buildertags(Map<String,String> tags)The tags of this workspace.WorkspaceDescription.BuilderworkspaceId(String workspaceId)Unique string identifying this 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, sdkFields
-
-
-
-
Method Detail
-
workspaceId
WorkspaceDescription.Builder workspaceId(String workspaceId)
Unique string identifying this workspace.
- Parameters:
workspaceId- Unique string identifying this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alias
WorkspaceDescription.Builder alias(String alias)
Alias of this workspace.
- Parameters:
alias- Alias of this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
WorkspaceDescription.Builder arn(String arn)
The Amazon Resource Name (ARN) of this workspace.
- Parameters:
arn- The Amazon Resource Name (ARN) of this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
WorkspaceDescription.Builder status(WorkspaceStatus status)
The status of this workspace.
- Parameters:
status- The status of this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default WorkspaceDescription.Builder status(Consumer<WorkspaceStatus.Builder> status)
The status of this workspace.
This is a convenience method that creates an instance of theWorkspaceStatus.Builderavoiding the need to create one manually viaWorkspaceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(WorkspaceStatus).- Parameters:
status- a consumer that will call methods onWorkspaceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(WorkspaceStatus)
-
prometheusEndpoint
WorkspaceDescription.Builder prometheusEndpoint(String prometheusEndpoint)
Prometheus endpoint URI.
- Parameters:
prometheusEndpoint- Prometheus endpoint URI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
WorkspaceDescription.Builder createdAt(Instant createdAt)
The time when the workspace was created.
- Parameters:
createdAt- The time when the workspace was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
WorkspaceDescription.Builder tags(Map<String,String> tags)
The tags of this workspace.
- Parameters:
tags- The tags of this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-