Interface CreateWorkspaceApiKeyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateWorkspaceApiKeyResponse.Builder,,CreateWorkspaceApiKeyResponse> GrafanaResponse.Builder,SdkBuilder<CreateWorkspaceApiKeyResponse.Builder,,CreateWorkspaceApiKeyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateWorkspaceApiKeyResponse
@Mutable
@NotThreadSafe
public static interface CreateWorkspaceApiKeyResponse.Builder
extends GrafanaResponse.Builder, SdkPojo, CopyableBuilder<CreateWorkspaceApiKeyResponse.Builder,CreateWorkspaceApiKeyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe key token.The name of the key that was created.workspaceId(String workspaceId) The ID of the workspace that the key is valid for.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
key
The key token. Use this value as a bearer token to authenticate HTTP requests to the workspace.
- Parameters:
key- The key token. Use this value as a bearer token to authenticate HTTP requests to the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyName
The name of the key that was created.
- Parameters:
keyName- The name of the key that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceId
The ID of the workspace that the key is valid for.
- Parameters:
workspaceId- The ID of the workspace that the key is valid for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-