Package com.pulumi.gcp.gkehub
Class ScopeRbacRoleBindingArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.gkehub.ScopeRbacRoleBindingArgs.Builder
-
- Enclosing class:
- ScopeRbacRoleBindingArgs
public static final class ScopeRbacRoleBindingArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ScopeRbacRoleBindingArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ScopeRbacRoleBindingArgs defaults)
-
-
Method Detail
-
group
public ScopeRbacRoleBindingArgs.Builder group(@Nullable com.pulumi.core.Output<java.lang.String> group)
- Parameters:
group
- Principal that is be authorized in the cluster (at least of one the oneof is required). Updating one will unset the other automatically. group is the group, as seen by the kubernetes cluster.- Returns:
- builder
-
group
public ScopeRbacRoleBindingArgs.Builder group(java.lang.String group)
- Parameters:
group
- Principal that is be authorized in the cluster (at least of one the oneof is required). Updating one will unset the other automatically. group is the group, as seen by the kubernetes cluster.- Returns:
- builder
-
labels
public ScopeRbacRoleBindingArgs.Builder labels(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> labels)
- Parameters:
labels
- Labels for this ScopeRBACRoleBinding. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.- Returns:
- builder
-
labels
public ScopeRbacRoleBindingArgs.Builder labels(java.util.Map<java.lang.String,java.lang.String> labels)
- Parameters:
labels
- Labels for this ScopeRBACRoleBinding. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.- Returns:
- builder
-
project
public ScopeRbacRoleBindingArgs.Builder project(@Nullable com.pulumi.core.Output<java.lang.String> project)
- Parameters:
project
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.- Returns:
- builder
-
project
public ScopeRbacRoleBindingArgs.Builder project(java.lang.String project)
- Parameters:
project
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.- Returns:
- builder
-
role
public ScopeRbacRoleBindingArgs.Builder role(com.pulumi.core.Output<ScopeRbacRoleBindingRoleArgs> role)
- Parameters:
role
- Role to bind to the principal. Structure is documented below.- Returns:
- builder
-
role
public ScopeRbacRoleBindingArgs.Builder role(ScopeRbacRoleBindingRoleArgs role)
- Parameters:
role
- Role to bind to the principal. Structure is documented below.- Returns:
- builder
-
scopeId
public ScopeRbacRoleBindingArgs.Builder scopeId(com.pulumi.core.Output<java.lang.String> scopeId)
- Parameters:
scopeId
- Id of the scope- Returns:
- builder
-
scopeId
public ScopeRbacRoleBindingArgs.Builder scopeId(java.lang.String scopeId)
- Parameters:
scopeId
- Id of the scope- Returns:
- builder
-
scopeRbacRoleBindingId
public ScopeRbacRoleBindingArgs.Builder scopeRbacRoleBindingId(com.pulumi.core.Output<java.lang.String> scopeRbacRoleBindingId)
- Parameters:
scopeRbacRoleBindingId
- The client-provided identifier of the RBAC Role Binding.- Returns:
- builder
-
scopeRbacRoleBindingId
public ScopeRbacRoleBindingArgs.Builder scopeRbacRoleBindingId(java.lang.String scopeRbacRoleBindingId)
- Parameters:
scopeRbacRoleBindingId
- The client-provided identifier of the RBAC Role Binding.- Returns:
- builder
-
user
public ScopeRbacRoleBindingArgs.Builder user(@Nullable com.pulumi.core.Output<java.lang.String> user)
- Parameters:
user
- Principal that is be authorized in the cluster (at least of one the oneof is required). Updating one will unset the other automatically. user is the name of the user as seen by the kubernetes cluster, example "alice" or "[email protected]"- Returns:
- builder
-
user
public ScopeRbacRoleBindingArgs.Builder user(java.lang.String user)
- Parameters:
user
- Principal that is be authorized in the cluster (at least of one the oneof is required). Updating one will unset the other automatically. user is the name of the user as seen by the kubernetes cluster, example "alice" or "[email protected]"- Returns:
- builder
-
build
public ScopeRbacRoleBindingArgs build()
-
-