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.Builderworkspace(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
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.
- 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.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:
-