Interface ListVirtualInterfaceRoutesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListVirtualInterfaceRoutesResponse.Builder,,ListVirtualInterfaceRoutesResponse> DirectConnectResponse.Builder,SdkBuilder<ListVirtualInterfaceRoutesResponse.Builder,,ListVirtualInterfaceRoutesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListVirtualInterfaceRoutesResponse
@Mutable
@NotThreadSafe
public static interface ListVirtualInterfaceRoutesResponse.Builder
extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<ListVirtualInterfaceRoutesResponse.Builder,ListVirtualInterfaceRoutesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.routes(Collection<Route> routes) The routes for the virtual interface.routes(Consumer<Route.Builder>... routes) The routes for the virtual interface.The routes for the virtual interface.virtualInterfaceId(String virtualInterfaceId) The ID of the virtual interface.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
virtualInterfaceId
The ID of the virtual interface.
- Parameters:
virtualInterfaceId- The ID of the virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The routes for the virtual interface.
- Parameters:
routes- The routes for the virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The routes for the virtual interface.
- Parameters:
routes- The routes for the virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The routes for the virtual interface.
This is a convenience method that creates an instance of theRoute.Builderavoiding the need to create one manually viaRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutes(List<Route>).- Parameters:
routes- a consumer that will call methods onRoute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-