Class AccountState.Builder

  • Enclosing class:
    AccountState

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

      • Builder

        public Builder()
    • Method Detail

      • abandonAbleCheckIds

        public AccountState.Builder abandonAbleCheckIds​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<java.lang.String>> abandonAbleCheckIds)
        Parameters:
        abandonAbleCheckIds - The IDs of the check items that you can choose to ignore for the member deletion. If you want to delete the account, please use datasource `alicloud.resourcemanager.getAccountDeletionCheckTask` to get check ids and set them.
        Returns:
        builder
      • abandonAbleCheckIds

        public AccountState.Builder abandonAbleCheckIds​(java.util.List<java.lang.String> abandonAbleCheckIds)
        Parameters:
        abandonAbleCheckIds - The IDs of the check items that you can choose to ignore for the member deletion. If you want to delete the account, please use datasource `alicloud.resourcemanager.getAccountDeletionCheckTask` to get check ids and set them.
        Returns:
        builder
      • abandonAbleCheckIds

        public AccountState.Builder abandonAbleCheckIds​(java.lang.String... abandonAbleCheckIds)
        Parameters:
        abandonAbleCheckIds - The IDs of the check items that you can choose to ignore for the member deletion. If you want to delete the account, please use datasource `alicloud.resourcemanager.getAccountDeletionCheckTask` to get check ids and set them.
        Returns:
        builder
      • accountNamePrefix

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

        public AccountState.Builder accountNamePrefix​(java.lang.String accountNamePrefix)
        Parameters:
        accountNamePrefix - The name prefix of account.
        Returns:
        builder
      • displayName

        public AccountState.Builder displayName​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> displayName)
        Parameters:
        displayName - Member name. The length is 2 ~ 50 characters or Chinese characters, which can include Chinese characters, English letters, numbers, underscores (_), dots (.) And dashes (-).
        Returns:
        builder
      • displayName

        public AccountState.Builder displayName​(java.lang.String displayName)
        Parameters:
        displayName - Member name. The length is 2 ~ 50 characters or Chinese characters, which can include Chinese characters, English letters, numbers, underscores (_), dots (.) And dashes (-).
        Returns:
        builder
      • folderId

        public AccountState.Builder folderId​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> folderId)
        Parameters:
        folderId - The ID of the parent folder.
        Returns:
        builder
      • folderId

        public AccountState.Builder folderId​(java.lang.String folderId)
        Parameters:
        folderId - The ID of the parent folder.
        Returns:
        builder
      • joinMethod

        public AccountState.Builder joinMethod​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> joinMethod)
        Parameters:
        joinMethod - Ways for members to join the resource directory. Valid values: `invited`, `created`.
        Returns:
        builder
      • joinMethod

        public AccountState.Builder joinMethod​(java.lang.String joinMethod)
        Parameters:
        joinMethod - Ways for members to join the resource directory. Valid values: `invited`, `created`.
        Returns:
        builder
      • joinTime

        public AccountState.Builder joinTime​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> joinTime)
        Parameters:
        joinTime - The time when the member joined the resource directory.
        Returns:
        builder
      • joinTime

        public AccountState.Builder joinTime​(java.lang.String joinTime)
        Parameters:
        joinTime - The time when the member joined the resource directory.
        Returns:
        builder
      • modifyTime

        public AccountState.Builder modifyTime​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> modifyTime)
        Parameters:
        modifyTime - The modification time of the invitation.
        Returns:
        builder
      • modifyTime

        public AccountState.Builder modifyTime​(java.lang.String modifyTime)
        Parameters:
        modifyTime - The modification time of the invitation.
        Returns:
        builder
      • payerAccountId

        public AccountState.Builder payerAccountId​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> payerAccountId)
        Parameters:
        payerAccountId - The ID of the billing account. If you leave this parameter empty, the current account is used as the billing account.
        Returns:
        builder
      • payerAccountId

        public AccountState.Builder payerAccountId​(java.lang.String payerAccountId)
        Parameters:
        payerAccountId - The ID of the billing account. If you leave this parameter empty, the current account is used as the billing account.
        Returns:
        builder
      • resourceDirectoryId

        public AccountState.Builder resourceDirectoryId​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> resourceDirectoryId)
        Parameters:
        resourceDirectoryId - Resource directory ID.
        Returns:
        builder
      • resourceDirectoryId

        public AccountState.Builder resourceDirectoryId​(java.lang.String resourceDirectoryId)
        Parameters:
        resourceDirectoryId - Resource directory ID.
        Returns:
        builder
      • status

        public AccountState.Builder status​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - Member joining status. Valid values: `CreateSuccess`,`CreateVerifying`,`CreateFailed`,`CreateExpired`,`CreateCancelled`,`PromoteVerifying`,`PromoteFailed`,`PromoteExpired`,`PromoteCancelled`,`PromoteSuccess`,`InviteSuccess`,`Removed`.
        Returns:
        builder
      • status

        public AccountState.Builder status​(java.lang.String status)
        Parameters:
        status - Member joining status. Valid values: `CreateSuccess`,`CreateVerifying`,`CreateFailed`,`CreateExpired`,`CreateCancelled`,`PromoteVerifying`,`PromoteFailed`,`PromoteExpired`,`PromoteCancelled`,`PromoteSuccess`,`InviteSuccess`,`Removed`.
        Returns:
        builder
      • tags

        public AccountState.Builder tags​(@Nullable
                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> tags)
        Parameters:
        tags - A mapping of tags to assign to the resource. > **NOTE:** The member name must be unique within the resource directory.
        Returns:
        builder
      • tags

        public AccountState.Builder tags​(java.util.Map<java.lang.String,​java.lang.Object> tags)
        Parameters:
        tags - A mapping of tags to assign to the resource. > **NOTE:** The member name must be unique within the resource directory.
        Returns:
        builder
      • type

        public AccountState.Builder type​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Member type. The value of `ResourceAccount` indicates the resource account.
        Returns:
        builder
      • type

        public AccountState.Builder type​(java.lang.String type)
        Parameters:
        type - Member type. The value of `ResourceAccount` indicates the resource account.
        Returns:
        builder