Class IAMBindingArgs.Builder

  • Enclosing class:
    IAMBindingArgs

    public static final class IAMBindingArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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)
      • 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