Interface MoveAccountRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<MoveAccountRequest.Builder,,- MoveAccountRequest> - OrganizationsRequest.Builder,- SdkBuilder<MoveAccountRequest.Builder,,- MoveAccountRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- MoveAccountRequest
- 
Method SummaryModifier and TypeMethodDescriptionThe unique identifier (ID) of the account that you want to move.destinationParentId(String destinationParentId) The unique identifier (ID) of the root or organizational unit that you want to move the account to.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceParentId(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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.organizations.model.OrganizationsRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
accountIdThe 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.
 
- 
sourceParentIdThe 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.
 
- 
 
- 
destinationParentIdThe 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.
 
- 
 
- 
overrideConfigurationMoveAccountRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationMoveAccountRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-