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)The alias that is assigned to this workspace to help identify it.WorkspaceDescription.Builderarn(String arn)The ARN of the workspace.WorkspaceDescription.BuildercreatedAt(Instant createdAt)The date and time that the workspace was created.WorkspaceDescription.BuilderkmsKeyArn(String kmsKeyArn)(optional) If the workspace was created with a customer managed KMS key, the ARN for the key used.WorkspaceDescription.BuilderprometheusEndpoint(String prometheusEndpoint)The Prometheus endpoint available for this workspace.default WorkspaceDescription.Builderstatus(Consumer<WorkspaceStatus.Builder> status)The current status of the workspace.WorkspaceDescription.Builderstatus(WorkspaceStatus status)The current status of the workspace.WorkspaceDescription.Buildertags(Map<String,String> tags)The list of tag keys and values that are associated with the workspace.WorkspaceDescription.BuilderworkspaceId(String workspaceId)The unique ID for 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, sdkFields
-
-
-
-
Method Detail
-
alias
WorkspaceDescription.Builder alias(String alias)
The alias that is assigned to this workspace to help identify it. It may not be unique.
- Parameters:
alias- The alias that is assigned to this workspace to help identify it. It may not be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
WorkspaceDescription.Builder arn(String arn)
The ARN of the workspace.
- Parameters:
arn- The ARN of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
WorkspaceDescription.Builder createdAt(Instant createdAt)
The date and time that the workspace was created.
- Parameters:
createdAt- The date and time that the workspace was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
WorkspaceDescription.Builder kmsKeyArn(String kmsKeyArn)
(optional) If the workspace was created with a customer managed KMS key, the ARN for the key used.
- Parameters:
kmsKeyArn- (optional) If the workspace was created with a customer managed KMS key, the ARN for the key used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prometheusEndpoint
WorkspaceDescription.Builder prometheusEndpoint(String prometheusEndpoint)
The Prometheus endpoint available for this workspace.
- Parameters:
prometheusEndpoint- The Prometheus endpoint available for this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
WorkspaceDescription.Builder status(WorkspaceStatus status)
The current status of the workspace.
- Parameters:
status- The current status of the 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 current status of the 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)
-
tags
WorkspaceDescription.Builder tags(Map<String,String> tags)
The list of tag keys and values that are associated with the workspace.
- Parameters:
tags- The list of tag keys and values that are associated with the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceId
WorkspaceDescription.Builder workspaceId(String workspaceId)
The unique ID for the workspace.
- Parameters:
workspaceId- The unique ID for the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-