Interface DescribeHomeRegionControlsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeHomeRegionControlsRequest.Builder,
,DescribeHomeRegionControlsRequest> MigrationHubConfigRequest.Builder
,SdkBuilder<DescribeHomeRegionControlsRequest.Builder,
,DescribeHomeRegionControlsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeHomeRegionControlsRequest
-
Method Summary
Modifier and TypeMethodDescriptionTheControlID
is a unique identifier string of yourHomeRegionControl
object.homeRegion
(String homeRegion) The name of the home region you'd like to view.maxResults
(Integer maxResults) The maximum number of filtering results to display per page.If aNextToken
was returned by a previous call, more results are available.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 target parameter specifies the identifier to which the home region is applied, which is always of typeACCOUNT
.The target parameter specifies the identifier to which the home region is applied, which is always of typeACCOUNT
.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 Details
-
controlId
The
ControlID
is a unique identifier string of yourHomeRegionControl
object.- Parameters:
controlId
- TheControlID
is a unique identifier string of yourHomeRegionControl
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
homeRegion
The name of the home region you'd like to view.
- Parameters:
homeRegion
- The name of the home region you'd like to view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The target parameter specifies the identifier to which the home region is applied, which is always of type
ACCOUNT
. It applies the home region to the currentACCOUNT
.- Parameters:
target
- The target parameter specifies the identifier to which the home region is applied, which is always of typeACCOUNT
. It applies the home region to the currentACCOUNT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The target parameter specifies the identifier to which the home region is applied, which is always of type
This is a convenience method that creates an instance of theACCOUNT
. It applies the home region to the currentACCOUNT
.Target.Builder
avoiding the need to create one manually viaTarget.builder()
.When the
Consumer
completes,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:
-
maxResults
The maximum number of filtering results to display per page.
- Parameters:
maxResults
- The maximum number of filtering results to display per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If a
NextToken
was returned by a previous call, more results are available. To retrieve the next page of results, make the call again using the returned token inNextToken
.- Parameters:
nextToken
- If aNextToken
was returned by a previous call, more results are available. To retrieve the next page of results, make the call again using the returned token inNextToken
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeHomeRegionControlsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeHomeRegionControlsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-