Package com.pulumi.gcp.serviceAccount
Class IAMBindingArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.serviceAccount.IAMBindingArgs.Builder
-
- Enclosing class:
- IAMBindingArgs
public static final class IAMBindingArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(IAMBindingArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAMBindingArgs
build()
IAMBindingArgs.Builder
condition(com.pulumi.core.Output<IAMBindingConditionArgs> condition)
IAMBindingArgs.Builder
condition(IAMBindingConditionArgs condition)
IAMBindingArgs.Builder
members(com.pulumi.core.Output<java.util.List<java.lang.String>> members)
IAMBindingArgs.Builder
members(java.lang.String... members)
IAMBindingArgs.Builder
members(java.util.List<java.lang.String> members)
IAMBindingArgs.Builder
role(com.pulumi.core.Output<java.lang.String> role)
IAMBindingArgs.Builder
role(java.lang.String role)
IAMBindingArgs.Builder
serviceAccountId(com.pulumi.core.Output<java.lang.String> serviceAccountId)
IAMBindingArgs.Builder
serviceAccountId(java.lang.String serviceAccountId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(IAMBindingArgs defaults)
-
-
Method Detail
-
condition
public IAMBindingArgs.Builder condition(@Nullable com.pulumi.core.Output<IAMBindingConditionArgs> condition)
- Parameters:
condition
- An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. Structure is documented below.- Returns:
- builder
-
condition
public IAMBindingArgs.Builder condition(IAMBindingConditionArgs condition)
- Parameters:
condition
- An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. Structure is documented below.- Returns:
- builder
-
members
public IAMBindingArgs.Builder members(com.pulumi.core.Output<java.util.List<java.lang.String>> members)
-
members
public IAMBindingArgs.Builder members(java.util.List<java.lang.String> members)
-
members
public IAMBindingArgs.Builder members(java.lang.String... members)
-
role
public IAMBindingArgs.Builder role(com.pulumi.core.Output<java.lang.String> role)
- Parameters:
role
- The role that should be applied. Only one `gcp.serviceAccount.IAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.- Returns:
- builder
-
role
public IAMBindingArgs.Builder role(java.lang.String role)
- Parameters:
role
- The role that should be applied. Only one `gcp.serviceAccount.IAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.- Returns:
- builder
-
serviceAccountId
public IAMBindingArgs.Builder serviceAccountId(com.pulumi.core.Output<java.lang.String> serviceAccountId)
- Parameters:
serviceAccountId
- The fully-qualified name of the service account to apply policy to.- Returns:
- builder
-
serviceAccountId
public IAMBindingArgs.Builder serviceAccountId(java.lang.String serviceAccountId)
- Parameters:
serviceAccountId
- The fully-qualified name of the service account to apply policy to.- Returns:
- builder
-
build
public IAMBindingArgs build()
-
-