Interface OpenSearchWorkspace.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OpenSearchWorkspace.Builder,
,OpenSearchWorkspace> SdkBuilder<OpenSearchWorkspace.Builder,
,OpenSearchWorkspace> SdkPojo
- Enclosing class:
OpenSearchWorkspace
@Mutable
@NotThreadSafe
public static interface OpenSearchWorkspace.Builder
extends SdkPojo, CopyableBuilder<OpenSearchWorkspace.Builder,OpenSearchWorkspace>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OpenSearchWorkspace.Builder
This structure contains information about the status of an OpenSearch Service resource.status
(OpenSearchResourceStatus status) This structure contains information about the status of an OpenSearch Service resource.workspaceId
(String workspaceId) The ID of 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, sdkFieldNameToField, sdkFields
-
Method Details
-
workspaceId
The ID of this workspace.
- Parameters:
workspaceId
- The ID of this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
This structure contains information about the status of an OpenSearch Service resource.
- Parameters:
status
- This structure contains information about the status of an OpenSearch Service resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
This structure contains information about the status of an OpenSearch Service resource.
This is a convenience method that creates an instance of theOpenSearchResourceStatus.Builder
avoiding the need to create one manually viaOpenSearchResourceStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(OpenSearchResourceStatus)
.- Parameters:
status
- a consumer that will call methods onOpenSearchResourceStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-