Interface CreateWorkspaceServiceAccountRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorkspaceServiceAccountRequest.Builder,CreateWorkspaceServiceAccountRequest>,GrafanaRequest.Builder,SdkBuilder<CreateWorkspaceServiceAccountRequest.Builder,CreateWorkspaceServiceAccountRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateWorkspaceServiceAccountRequest
public static interface CreateWorkspaceServiceAccountRequest.Builder extends GrafanaRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkspaceServiceAccountRequest.Builder,CreateWorkspaceServiceAccountRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateWorkspaceServiceAccountRequest.BuildergrafanaRole(String grafanaRole)The permission level to use for this service account.CreateWorkspaceServiceAccountRequest.BuildergrafanaRole(Role grafanaRole)The permission level to use for this service account.CreateWorkspaceServiceAccountRequest.Buildername(String name)A name for the service account.CreateWorkspaceServiceAccountRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateWorkspaceServiceAccountRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateWorkspaceServiceAccountRequest.BuilderworkspaceId(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, sdkFields
-
-
-
-
Method Detail
-
grafanaRole
CreateWorkspaceServiceAccountRequest.Builder grafanaRole(String 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:
Role,Role
-
grafanaRole
CreateWorkspaceServiceAccountRequest.Builder grafanaRole(Role 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:
Role,Role
-
name
CreateWorkspaceServiceAccountRequest.Builder name(String 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
CreateWorkspaceServiceAccountRequest.Builder workspaceId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateWorkspaceServiceAccountRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-