Class IAMBindingState.Builder

  • Enclosing class:
    IAMBindingState

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

      • Builder

        public Builder()
    • Method Detail

      • etag

        public IAMBindingState.Builder etag​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> etag)
        Parameters:
        etag - (Computed) The etag of the folder's IAM policy.
        Returns:
        builder
      • etag

        public IAMBindingState.Builder etag​(java.lang.String etag)
        Parameters:
        etag - (Computed) The etag of the folder's IAM policy.
        Returns:
        builder
      • folder

        public IAMBindingState.Builder folder​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> folder)
        Parameters:
        folder - The resource name of the folder the policy is attached to. Its format is folders/{folder_id}.
        Returns:
        builder
      • folder

        public IAMBindingState.Builder folder​(java.lang.String folder)
        Parameters:
        folder - The resource name of the folder the policy is attached to. Its format is folders/{folder_id}.
        Returns:
        builder
      • members

        public IAMBindingState.Builder members​(@Nullable
                                               com.pulumi.core.Output<java.util.List<java.lang.String>> members)
        Parameters:
        members - An array of identities that will be granted the privilege in the `role`. Each entry can have one of the following values: * **user:{emailid}**: An email address that is associated with a specific Google account. For example, [email protected]. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected]. * **group:{emailid}**: An email address that represents a Google group. For example, [email protected]. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
        Returns:
        builder
      • members

        public IAMBindingState.Builder members​(java.util.List<java.lang.String> members)
        Parameters:
        members - An array of identities that will be granted the privilege in the `role`. Each entry can have one of the following values: * **user:{emailid}**: An email address that is associated with a specific Google account. For example, [email protected]. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected]. * **group:{emailid}**: An email address that represents a Google group. For example, [email protected]. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
        Returns:
        builder
      • members

        public IAMBindingState.Builder members​(java.lang.String... members)
        Parameters:
        members - An array of identities that will be granted the privilege in the `role`. Each entry can have one of the following values: * **user:{emailid}**: An email address that is associated with a specific Google account. For example, [email protected]. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected]. * **group:{emailid}**: An email address that represents a Google group. For example, [email protected]. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
        Returns:
        builder
      • role

        public IAMBindingState.Builder role​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> role)
        Parameters:
        role - The role that should be applied. Only one `gcp.folder.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 IAMBindingState.Builder role​(java.lang.String role)
        Parameters:
        role - The role that should be applied. Only one `gcp.folder.IAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
        Returns:
        builder