Interface ListEnvironmentVpcsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListEnvironmentVpcsResponse.Builder,
,ListEnvironmentVpcsResponse> MigrationHubRefactorSpacesResponse.Builder
,SdkBuilder<ListEnvironmentVpcsResponse.Builder,
,ListEnvironmentVpcsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListEnvironmentVpcsResponse
public static interface ListEnvironmentVpcsResponse.Builder
extends MigrationHubRefactorSpacesResponse.Builder, SdkPojo, CopyableBuilder<ListEnvironmentVpcsResponse.Builder,ListEnvironmentVpcsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionenvironmentVpcList
(Collection<EnvironmentVpc> environmentVpcList) The list ofEnvironmentVpc
objects.environmentVpcList
(Consumer<EnvironmentVpc.Builder>... environmentVpcList) The list ofEnvironmentVpc
objects.environmentVpcList
(EnvironmentVpc... environmentVpcList) The list ofEnvironmentVpc
objects.The token for the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhubrefactorspaces.model.MigrationHubRefactorSpacesResponse.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
-
environmentVpcList
ListEnvironmentVpcsResponse.Builder environmentVpcList(Collection<EnvironmentVpc> environmentVpcList) The list of
EnvironmentVpc
objects.- Parameters:
environmentVpcList
- The list ofEnvironmentVpc
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentVpcList
The list of
EnvironmentVpc
objects.- Parameters:
environmentVpcList
- The list ofEnvironmentVpc
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentVpcList
ListEnvironmentVpcsResponse.Builder environmentVpcList(Consumer<EnvironmentVpc.Builder>... environmentVpcList) The list of
This is a convenience method that creates an instance of theEnvironmentVpc
objects.EnvironmentVpc.Builder
avoiding the need to create one manually viaEnvironmentVpc.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenvironmentVpcList(List<EnvironmentVpc>)
.- Parameters:
environmentVpcList
- a consumer that will call methods onEnvironmentVpc.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next page of results.
- Parameters:
nextToken
- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-