Interface Account.Builder

    • Method Detail

      • id

        Account.Builder id​(String id)

        The unique identifier (ID) of the account.

        The regex pattern for an account ID string requires exactly 12 digits.

        Parameters:
        id - The unique identifier (ID) of the account.

        The regex pattern for an account ID string requires exactly 12 digits.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        Account.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the account.

        For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the account.

        For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • email

        Account.Builder email​(String email)

        The email address associated with the Amazon Web Services account.

        The regex pattern for this parameter is a string of characters that represents a standard internet email address.

        Parameters:
        email - The email address associated with the Amazon Web Services account.

        The regex pattern for this parameter is a string of characters that represents a standard internet email address.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Account.Builder name​(String name)

        The friendly name of the account.

        The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

        Parameters:
        name - The friendly name of the account.

        The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        Account.Builder status​(String status)

        The status of the account in the organization.

        Parameters:
        status - The status of the account in the organization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AccountStatus, AccountStatus
      • status

        Account.Builder status​(AccountStatus status)

        The status of the account in the organization.

        Parameters:
        status - The status of the account in the organization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AccountStatus, AccountStatus
      • joinedMethod

        Account.Builder joinedMethod​(String joinedMethod)

        The method by which the account joined the organization.

        Parameters:
        joinedMethod - The method by which the account joined the organization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AccountJoinedMethod, AccountJoinedMethod
      • joinedMethod

        Account.Builder joinedMethod​(AccountJoinedMethod joinedMethod)

        The method by which the account joined the organization.

        Parameters:
        joinedMethod - The method by which the account joined the organization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AccountJoinedMethod, AccountJoinedMethod
      • joinedTimestamp

        Account.Builder joinedTimestamp​(Instant joinedTimestamp)

        The date the account became a part of the organization.

        Parameters:
        joinedTimestamp - The date the account became a part of the organization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.