Interface CreateWorkspaceServiceAccountRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateWorkspaceServiceAccountRequest.Builder,
,CreateWorkspaceServiceAccountRequest> GrafanaRequest.Builder
,SdkBuilder<CreateWorkspaceServiceAccountRequest.Builder,
,CreateWorkspaceServiceAccountRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateWorkspaceServiceAccountRequest
-
Method Summary
Modifier and TypeMethodDescriptiongrafanaRole
(String grafanaRole) The permission level to use for this service account.grafanaRole
(Role grafanaRole) The permission level to use for this service account.A name for the service account.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.workspaceId
(String workspaceId) The ID of the workspace within which to create the service account.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.grafana.model.GrafanaRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
grafanaRole
The permission level to use for this service account.
For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
- Parameters:
grafanaRole
- The permission level to use for this service account.For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
grafanaRole
The permission level to use for this service account.
For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
- Parameters:
grafanaRole
- The permission level to use for this service account.For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
A name for the service account. The name must be unique within the workspace, as it determines the ID associated with the service account.
- Parameters:
name
- A name for the service account. The name must be unique within the workspace, as it determines the ID associated with the service account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceId
The ID of the workspace within which to create the service account.
- Parameters:
workspaceId
- The ID of the workspace within which to create the service account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateWorkspaceServiceAccountRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateWorkspaceServiceAccountRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-