Interface UpdateWorkspaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateWorkspaceResponse.Builder,,UpdateWorkspaceResponse> GrafanaResponse.Builder,SdkBuilder<UpdateWorkspaceResponse.Builder,,UpdateWorkspaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateWorkspaceResponse
public static interface UpdateWorkspaceResponse.Builder
extends GrafanaResponse.Builder, SdkPojo, CopyableBuilder<UpdateWorkspaceResponse.Builder,UpdateWorkspaceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateWorkspaceResponse.Builderworkspace(Consumer<WorkspaceDescription.Builder> workspace) A structure containing data about the workspace that was created.workspace(WorkspaceDescription workspace) A structure containing data about the workspace that was created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.grafana.model.GrafanaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
workspace
A structure containing data about the workspace that was created.
- Parameters:
workspace- A structure containing data about the workspace that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspace
A structure containing data about the workspace that was created.
This is a convenience method that creates an instance of theWorkspaceDescription.Builderavoiding the need to create one manually viaWorkspaceDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkspace(WorkspaceDescription).- Parameters:
workspace- a consumer that will call methods onWorkspaceDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-