Interface CreateHomeRegionControlRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateHomeRegionControlRequest.Builder,,CreateHomeRegionControlRequest> MigrationHubConfigRequest.Builder,SdkBuilder<CreateHomeRegionControlRequest.Builder,,CreateHomeRegionControlRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateHomeRegionControlRequest
public static interface CreateHomeRegionControlRequest.Builder
extends MigrationHubConfigRequest.Builder, SdkPojo, CopyableBuilder<CreateHomeRegionControlRequest.Builder,CreateHomeRegionControlRequest>
-
Method Summary
Modifier and TypeMethodDescriptionOptional Boolean flag to indicate whether any effect should take place.homeRegion(String homeRegion) The name of the home region of the calling account.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.target(Consumer<Target.Builder> target) The account for which this command sets up a home region control.The account for which this command sets up a home region control.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.migrationhubconfig.model.MigrationHubConfigRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
homeRegion
The name of the home region of the calling account.
- Parameters:
homeRegion- The name of the home region of the calling account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The account for which this command sets up a home region control. The
Targetis always of typeACCOUNT.- Parameters:
target- The account for which this command sets up a home region control. TheTargetis always of typeACCOUNT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The account for which this command sets up a home region control. The
This is a convenience method that creates an instance of theTargetis always of typeACCOUNT.Target.Builderavoiding the need to create one manually viaTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(Target).- Parameters:
target- a consumer that will call methods onTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dryRun
Optional Boolean flag to indicate whether any effect should take place. It tests whether the caller has permission to make the call.
- Parameters:
dryRun- Optional Boolean flag to indicate whether any effect should take place. It tests whether the caller has permission to make the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateHomeRegionControlRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateHomeRegionControlRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-