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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateHomeRegionControlRequest.BuilderdryRun(Boolean dryRun)Optional Boolean flag to indicate whether any effect should take place.CreateHomeRegionControlRequest.BuilderhomeRegion(String homeRegion)The name of the home region of the calling account.CreateHomeRegionControlRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateHomeRegionControlRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateHomeRegionControlRequest.Buildertarget(Consumer<Target.Builder> target)The account for which this command sets up a home region control.CreateHomeRegionControlRequest.Buildertarget(Target target)The account for which this command sets up a home region control.-
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.migrationhubconfig.model.MigrationHubConfigRequest.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
-
homeRegion
CreateHomeRegionControlRequest.Builder homeRegion(String 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
CreateHomeRegionControlRequest.Builder target(Target 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
default CreateHomeRegionControlRequest.Builder target(Consumer<Target.Builder> 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:
target(Target)
-
dryRun
CreateHomeRegionControlRequest.Builder dryRun(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateHomeRegionControlRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-