Interface MoveAccountRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<MoveAccountRequest.Builder,MoveAccountRequest>, OrganizationsRequest.Builder, SdkBuilder<MoveAccountRequest.Builder,MoveAccountRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
MoveAccountRequest

public static interface MoveAccountRequest.Builder extends OrganizationsRequest.Builder, SdkPojo, CopyableBuilder<MoveAccountRequest.Builder,MoveAccountRequest>
  • Method Details

    • accountId

      MoveAccountRequest.Builder accountId(String accountId)

      The unique identifier (ID) of the account that you want to move.

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

      Parameters:
      accountId - The unique identifier (ID) of the account that you want to move.

      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.
    • sourceParentId

      MoveAccountRequest.Builder sourceParentId(String sourceParentId)

      The unique identifier (ID) of the root or organizational unit that you want to move the account from.

      The regex pattern for a parent ID string requires one of the following:

      • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

      • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

      Parameters:
      sourceParentId - The unique identifier (ID) of the root or organizational unit that you want to move the account from.

      The regex pattern for a parent ID string requires one of the following:

      • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

      • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

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

      MoveAccountRequest.Builder destinationParentId(String destinationParentId)

      The unique identifier (ID) of the root or organizational unit that you want to move the account to.

      The regex pattern for a parent ID string requires one of the following:

      • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

      • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

      Parameters:
      destinationParentId - The unique identifier (ID) of the root or organizational unit that you want to move the account to.

      The regex pattern for a parent ID string requires one of the following:

      • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

      • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

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

      MoveAccountRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.