Class SubAccountState.Builder

  • Enclosing class:
    SubAccountState

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

      • Builder

        public Builder()
    • Method Detail

      • billingAccountId

        public SubAccountState.Builder billingAccountId​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> billingAccountId)
        Parameters:
        billingAccountId - The billing account id.
        Returns:
        builder
      • billingAccountId

        public SubAccountState.Builder billingAccountId​(java.lang.String billingAccountId)
        Parameters:
        billingAccountId - The billing account id.
        Returns:
        builder
      • deletionPolicy

        public SubAccountState.Builder deletionPolicy​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> deletionPolicy)
        Parameters:
        deletionPolicy - If set to "RENAME_ON_DESTROY" the billing account display_name will be changed to "Destroyed" along with a timestamp. If set to "" this will not occur. Default is "".
        Returns:
        builder
      • deletionPolicy

        public SubAccountState.Builder deletionPolicy​(java.lang.String deletionPolicy)
        Parameters:
        deletionPolicy - If set to "RENAME_ON_DESTROY" the billing account display_name will be changed to "Destroyed" along with a timestamp. If set to "" this will not occur. Default is "".
        Returns:
        builder
      • displayName

        public SubAccountState.Builder displayName​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> displayName)
        Parameters:
        displayName - The display name of the billing account.
        Returns:
        builder
      • displayName

        public SubAccountState.Builder displayName​(java.lang.String displayName)
        Parameters:
        displayName - The display name of the billing account.
        Returns:
        builder
      • masterBillingAccount

        public SubAccountState.Builder masterBillingAccount​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> masterBillingAccount)
        Parameters:
        masterBillingAccount - The name of the master billing account that the subaccount will be created under in the form `{billing_account_id}` or `billingAccounts/{billing_account_id}`.
        Returns:
        builder
      • masterBillingAccount

        public SubAccountState.Builder masterBillingAccount​(java.lang.String masterBillingAccount)
        Parameters:
        masterBillingAccount - The name of the master billing account that the subaccount will be created under in the form `{billing_account_id}` or `billingAccounts/{billing_account_id}`.
        Returns:
        builder
      • name

        public SubAccountState.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The resource name of the billing account in the form `billingAccounts/{billing_account_id}`.
        Returns:
        builder
      • name

        public SubAccountState.Builder name​(java.lang.String name)
        Parameters:
        name - The resource name of the billing account in the form `billingAccounts/{billing_account_id}`.
        Returns:
        builder
      • open

        public SubAccountState.Builder open​(@Nullable
                                            com.pulumi.core.Output<java.lang.Boolean> open)
        Parameters:
        open - `true` if the billing account is open, `false` if the billing account is closed.
        Returns:
        builder
      • open

        public SubAccountState.Builder open​(java.lang.Boolean open)
        Parameters:
        open - `true` if the billing account is open, `false` if the billing account is closed.
        Returns:
        builder