Interface UpdateWorkspaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateWorkspaceResponse.Builder,,UpdateWorkspaceResponse> IoTSiteWiseResponse.Builder,SdkBuilder<UpdateWorkspaceResponse.Builder,,UpdateWorkspaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateWorkspaceResponse
@Mutable
@NotThreadSafe
public static interface UpdateWorkspaceResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<UpdateWorkspaceResponse.Builder,UpdateWorkspaceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateWorkspaceResponse.BuilderworkspaceStatus(Consumer<WorkspaceStatus.Builder> workspaceStatus) The status of the workspace after the update, which isUPDATINGwhen the operation returns.workspaceStatus(WorkspaceStatus workspaceStatus) The status of the workspace after the update, which isUPDATINGwhen 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
-
workspaceStatus
The status of the workspace after the update, which is
UPDATINGwhen the operation returns.- Parameters:
workspaceStatus- The status of the workspace after the update, which isUPDATINGwhen the operation returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceStatus
default UpdateWorkspaceResponse.Builder workspaceStatus(Consumer<WorkspaceStatus.Builder> workspaceStatus) The status of the workspace after the update, which is
This is a convenience method that creates an instance of theUPDATINGwhen 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:
-