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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MoveAccountRequest.BuilderaccountId(String accountId)The unique identifier (ID) of the account that you want to move.MoveAccountRequest.BuilderdestinationParentId(String destinationParentId)The unique identifier (ID) of the root or organizational unit that you want to move the account to.MoveAccountRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)MoveAccountRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)MoveAccountRequest.BuildersourceParentId(String sourceParentId)The unique identifier (ID) of the root or organizational unit that you want to move the account from.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.organizations.model.OrganizationsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
MoveAccountRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-