Interface AssociateLicenseResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AssociateLicenseResponse.Builder,
,AssociateLicenseResponse> GrafanaResponse.Builder
,SdkBuilder<AssociateLicenseResponse.Builder,
,AssociateLicenseResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AssociateLicenseResponse
public static interface AssociateLicenseResponse.Builder
extends GrafanaResponse.Builder, SdkPojo, CopyableBuilder<AssociateLicenseResponse.Builder,AssociateLicenseResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateLicenseResponse.Builder
workspace
(Consumer<WorkspaceDescription.Builder> workspace) A structure containing data about the workspace.workspace
(WorkspaceDescription workspace) A structure containing data about the workspace.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.grafana.model.GrafanaResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
workspace
A structure containing data about the workspace.
- Parameters:
workspace
- A structure containing data about the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspace
default AssociateLicenseResponse.Builder workspace(Consumer<WorkspaceDescription.Builder> workspace) A structure containing data about the workspace.
This is a convenience method that creates an instance of theWorkspaceDescription.Builder
avoiding the need to create one manually viaWorkspaceDescription.builder()
.When the
Consumer
completes,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:
-