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 TypeMethodDescriptionTheControlIDis a unique identifier string of yourHomeRegionControlobject.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 aNextTokenwas 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
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
-
controlId
The
ControlIDis a unique identifier string of yourHomeRegionControlobject.- Parameters:
controlId- TheControlIDis a unique identifier string of yourHomeRegionControlobject.- 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.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:
-
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
NextTokenwas 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 aNextTokenwas 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-