public static interface CreateWorkspaceApiKeyRequest.Builder extends GrafanaRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkspaceApiKeyRequest.Builder,CreateWorkspaceApiKeyRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateWorkspaceApiKeyRequest.Builder |
keyName(String keyName)
Specifies the name of the key.
|
CreateWorkspaceApiKeyRequest.Builder |
keyRole(String keyRole)
Specifies the permission level of the key.
|
CreateWorkspaceApiKeyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateWorkspaceApiKeyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateWorkspaceApiKeyRequest.Builder |
secondsToLive(Integer secondsToLive)
Specifies the time in seconds until the key expires.
|
CreateWorkspaceApiKeyRequest.Builder |
workspaceId(String workspaceId)
The ID of the workspace to create an API key.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateWorkspaceApiKeyRequest.Builder keyName(String keyName)
Specifies the name of the key. Keynames must be unique to the workspace.
keyName - Specifies the name of the key. Keynames must be unique to the workspace.CreateWorkspaceApiKeyRequest.Builder keyRole(String keyRole)
Specifies the permission level of the key.
Valid values: VIEWER|EDITOR|ADMIN
keyRole - Specifies the permission level of the key.
Valid values: VIEWER|EDITOR|ADMIN
CreateWorkspaceApiKeyRequest.Builder secondsToLive(Integer secondsToLive)
Specifies the time in seconds until the key expires. Keys can be valid for up to 30 days.
secondsToLive - Specifies the time in seconds until the key expires. Keys can be valid for up to 30 days.CreateWorkspaceApiKeyRequest.Builder workspaceId(String workspaceId)
The ID of the workspace to create an API key.
workspaceId - The ID of the workspace to create an API key.CreateWorkspaceApiKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateWorkspaceApiKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.