Class AccountState.Builder

  • Enclosing class:
    AccountState

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

      • Builder

        public Builder()
    • Method Detail

      • accountId

        public AccountState.Builder accountId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> accountId)
        Parameters:
        accountId - The account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 6-30 characters long, and match the regular expression `a-z` to comply with RFC1035. Changing this forces a new service account to be created.
        Returns:
        builder
      • accountId

        public AccountState.Builder accountId​(java.lang.String accountId)
        Parameters:
        accountId - The account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 6-30 characters long, and match the regular expression `a-z` to comply with RFC1035. Changing this forces a new service account to be created.
        Returns:
        builder
      • description

        public AccountState.Builder description​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A text description of the service account. Must be less than or equal to 256 UTF-8 bytes.
        Returns:
        builder
      • description

        public AccountState.Builder description​(java.lang.String description)
        Parameters:
        description - A text description of the service account. Must be less than or equal to 256 UTF-8 bytes.
        Returns:
        builder
      • disabled

        public AccountState.Builder disabled​(@Nullable
                                             com.pulumi.core.Output<java.lang.Boolean> disabled)
        Parameters:
        disabled - Whether a service account is disabled or not. Defaults to `false`. This field has no effect during creation. Must be set after creation to disable a service account.
        Returns:
        builder
      • disabled

        public AccountState.Builder disabled​(java.lang.Boolean disabled)
        Parameters:
        disabled - Whether a service account is disabled or not. Defaults to `false`. This field has no effect during creation. Must be set after creation to disable a service account.
        Returns:
        builder
      • displayName

        public AccountState.Builder displayName​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> displayName)
        Parameters:
        displayName - The display name for the service account. Can be updated without creating a new resource.
        Returns:
        builder
      • displayName

        public AccountState.Builder displayName​(java.lang.String displayName)
        Parameters:
        displayName - The display name for the service account. Can be updated without creating a new resource.
        Returns:
        builder
      • email

        public AccountState.Builder email​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> email)
        Parameters:
        email - The e-mail address of the service account. This value should be referenced from any `gcp.organizations.getIAMPolicy` data sources that would grant the service account privileges.
        Returns:
        builder
      • email

        public AccountState.Builder email​(java.lang.String email)
        Parameters:
        email - The e-mail address of the service account. This value should be referenced from any `gcp.organizations.getIAMPolicy` data sources that would grant the service account privileges.
        Returns:
        builder
      • member

        public AccountState.Builder member​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> member)
        Parameters:
        member - The Identity of the service account in the form `serviceAccount:{email}`. This value is often used to refer to the service account in order to grant IAM permissions.
        Returns:
        builder
      • member

        public AccountState.Builder member​(java.lang.String member)
        Parameters:
        member - The Identity of the service account in the form `serviceAccount:{email}`. This value is often used to refer to the service account in order to grant IAM permissions.
        Returns:
        builder
      • name

        public AccountState.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The fully-qualified name of the service account.
        Returns:
        builder
      • name

        public AccountState.Builder name​(java.lang.String name)
        Parameters:
        name - The fully-qualified name of the service account.
        Returns:
        builder
      • project

        public AccountState.Builder project​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project that the service account will be created in. Defaults to the provider project configuration.
        Returns:
        builder
      • project

        public AccountState.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project that the service account will be created in. Defaults to the provider project configuration.
        Returns:
        builder
      • uniqueId

        public AccountState.Builder uniqueId​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> uniqueId)
        Parameters:
        uniqueId - The unique id of the service account.
        Returns:
        builder
      • uniqueId

        public AccountState.Builder uniqueId​(java.lang.String uniqueId)
        Parameters:
        uniqueId - The unique id of the service account.
        Returns:
        builder