Interface CreateWorkspaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateWorkspaceResponse.Builder,,CreateWorkspaceResponse> IoTSiteWiseResponse.Builder,SdkBuilder<CreateWorkspaceResponse.Builder,,CreateWorkspaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateWorkspaceResponse
@Mutable
@NotThreadSafe
public static interface CreateWorkspaceResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<CreateWorkspaceResponse.Builder,CreateWorkspaceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionworkspaceArn(String workspaceArn) The ARN of the workspace.workspaceName(String workspaceName) The name of the workspace.default CreateWorkspaceResponse.BuilderworkspaceStatus(Consumer<WorkspaceStatus.Builder> workspaceStatus) The status of the workspace, which isCREATINGwhen the operation returns.workspaceStatus(WorkspaceStatus workspaceStatus) The status of the workspace, which isCREATINGwhen the operation returns.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
workspaceName
The name of the workspace.
- Parameters:
workspaceName- The name of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceArn
The ARN of the workspace.
- Parameters:
workspaceArn- The ARN of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceStatus
The status of the workspace, which is
CREATINGwhen the operation returns.- Parameters:
workspaceStatus- The status of the workspace, which isCREATINGwhen the operation returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceStatus
default CreateWorkspaceResponse.Builder workspaceStatus(Consumer<WorkspaceStatus.Builder> workspaceStatus) The status of the workspace, which is
This is a convenience method that creates an instance of theCREATINGwhen the operation returns.WorkspaceStatus.Builderavoiding the need to create one manually viaWorkspaceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkspaceStatus(WorkspaceStatus).- Parameters:
workspaceStatus- 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:
-