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 yourHomeRegionControlobjects.homeRegionControls(Consumer<HomeRegionControl.Builder>... homeRegionControls) An array that contains yourHomeRegionControlobjects.homeRegionControls(HomeRegionControl... homeRegionControls) An array that contains yourHomeRegionControlobjects.If aNextTokenwas returned by a previous call, more results are available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.migrationhubconfig.model.MigrationHubConfigResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
HomeRegionControlobjects.- Parameters:
homeRegionControls- An array that contains yourHomeRegionControlobjects.- 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
HomeRegionControlobjects.- Parameters:
homeRegionControls- An array that contains yourHomeRegionControlobjects.- 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 theHomeRegionControlobjects.HomeRegionControl.Builderavoiding the need to create one manually viaHomeRegionControl.builder().When the
Consumercompletes,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
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.
-