Interface CreateWorkspaceApiKeyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateWorkspaceApiKeyResponse.Builder,CreateWorkspaceApiKeyResponse>,GrafanaResponse.Builder,SdkBuilder<CreateWorkspaceApiKeyResponse.Builder,CreateWorkspaceApiKeyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateWorkspaceApiKeyResponse
public static interface CreateWorkspaceApiKeyResponse.Builder extends GrafanaResponse.Builder, SdkPojo, CopyableBuilder<CreateWorkspaceApiKeyResponse.Builder,CreateWorkspaceApiKeyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateWorkspaceApiKeyResponse.Builderkey(String key)The key token.CreateWorkspaceApiKeyResponse.BuilderkeyName(String keyName)The name of the key that was created.CreateWorkspaceApiKeyResponse.BuilderworkspaceId(String workspaceId)The ID of the workspace that the key is valid for.-
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 Detail
-
key
CreateWorkspaceApiKeyResponse.Builder key(String 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
CreateWorkspaceApiKeyResponse.Builder keyName(String 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
CreateWorkspaceApiKeyResponse.Builder workspaceId(String 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.
-
-