Interface DescribeHomeRegionControlsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeHomeRegionControlsResponse.Builder,
,DescribeHomeRegionControlsResponse> MigrationHubConfigResponse.Builder
,SdkBuilder<DescribeHomeRegionControlsResponse.Builder,
,DescribeHomeRegionControlsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeHomeRegionControlsResponse
public static interface DescribeHomeRegionControlsResponse.Builder
extends MigrationHubConfigResponse.Builder, SdkPojo, CopyableBuilder<DescribeHomeRegionControlsResponse.Builder,DescribeHomeRegionControlsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhomeRegionControls
(Collection<HomeRegionControl> homeRegionControls) An array that contains yourHomeRegionControl
objects.homeRegionControls
(Consumer<HomeRegionControl.Builder>... homeRegionControls) An array that contains yourHomeRegionControl
objects.homeRegionControls
(HomeRegionControl... homeRegionControls) An array that contains yourHomeRegionControl
objects.If aNextToken
was returned by a previous call, more results are available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhubconfig.model.MigrationHubConfigResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
homeRegionControls
DescribeHomeRegionControlsResponse.Builder homeRegionControls(Collection<HomeRegionControl> homeRegionControls) An array that contains your
HomeRegionControl
objects.- Parameters:
homeRegionControls
- An array that contains yourHomeRegionControl
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
homeRegionControls
DescribeHomeRegionControlsResponse.Builder homeRegionControls(HomeRegionControl... homeRegionControls) An array that contains your
HomeRegionControl
objects.- Parameters:
homeRegionControls
- An array that contains yourHomeRegionControl
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
homeRegionControls
DescribeHomeRegionControlsResponse.Builder homeRegionControls(Consumer<HomeRegionControl.Builder>... homeRegionControls) An array that contains your
This is a convenience method that creates an instance of theHomeRegionControl
objects.HomeRegionControl.Builder
avoiding the need to create one manually viaHomeRegionControl.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohomeRegionControls(List<HomeRegionControl>)
.- Parameters:
homeRegionControls
- a consumer that will call methods onHomeRegionControl.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-