Package com.pulumi.aws.grafana.inputs
Class WorkspaceServiceAccountState.Builder
- java.lang.Object
-
- com.pulumi.aws.grafana.inputs.WorkspaceServiceAccountState.Builder
-
- Enclosing class:
- WorkspaceServiceAccountState
public static final class WorkspaceServiceAccountState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(WorkspaceServiceAccountState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(WorkspaceServiceAccountState defaults)
-
-
Method Detail
-
grafanaRole
public WorkspaceServiceAccountState.Builder grafanaRole(@Nullable com.pulumi.core.Output<java.lang.String> grafanaRole)
- Parameters:
grafanaRole- Permission level to use for this service account. For more information about the roles and the permissions each has, see the [User roles](https://docs.aws.amazon.com/grafana/latest/userguide/Grafana-user-roles.html) documentation.- Returns:
- builder
-
grafanaRole
public WorkspaceServiceAccountState.Builder grafanaRole(java.lang.String grafanaRole)
- Parameters:
grafanaRole- Permission level to use for this service account. For more information about the roles and the permissions each has, see the [User roles](https://docs.aws.amazon.com/grafana/latest/userguide/Grafana-user-roles.html) documentation.- Returns:
- builder
-
name
public WorkspaceServiceAccountState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name for the service account. The name must be unique within the workspace, as it determines the ID associated with the service account.- Returns:
- builder
-
name
public WorkspaceServiceAccountState.Builder name(java.lang.String name)
- Parameters:
name- Name for the service account. The name must be unique within the workspace, as it determines the ID associated with the service account.- Returns:
- builder
-
region
public WorkspaceServiceAccountState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public WorkspaceServiceAccountState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
serviceAccountId
public WorkspaceServiceAccountState.Builder serviceAccountId(@Nullable com.pulumi.core.Output<java.lang.String> serviceAccountId)
- Parameters:
serviceAccountId- Identifier of the service account in the given Grafana workspace- Returns:
- builder
-
serviceAccountId
public WorkspaceServiceAccountState.Builder serviceAccountId(java.lang.String serviceAccountId)
- Parameters:
serviceAccountId- Identifier of the service account in the given Grafana workspace- Returns:
- builder
-
workspaceId
public WorkspaceServiceAccountState.Builder workspaceId(@Nullable com.pulumi.core.Output<java.lang.String> workspaceId)
- Parameters:
workspaceId- Grafana workspace with which the service account is associated.- Returns:
- builder
-
workspaceId
public WorkspaceServiceAccountState.Builder workspaceId(java.lang.String workspaceId)
- Parameters:
workspaceId- Grafana workspace with which the service account is associated.- Returns:
- builder
-
build
public WorkspaceServiceAccountState build()
-
-