Interface GetNetworkRoutesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetNetworkRoutesResponse.Builder,,GetNetworkRoutesResponse> NetworkManagerResponse.Builder,SdkBuilder<GetNetworkRoutesResponse.Builder,,GetNetworkRoutesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetNetworkRoutesResponse
@Mutable
@NotThreadSafe
public static interface GetNetworkRoutesResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetNetworkRoutesResponse.Builder,GetNetworkRoutesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetNetworkRoutesResponse.BuildercoreNetworkSegmentEdge(Consumer<CoreNetworkSegmentEdgeIdentifier.Builder> coreNetworkSegmentEdge) Describes a core network segment edge.coreNetworkSegmentEdge(CoreNetworkSegmentEdgeIdentifier coreNetworkSegmentEdge) Describes a core network segment edge.networkRoutes(Collection<NetworkRoute> networkRoutes) The network routes.networkRoutes(Consumer<NetworkRoute.Builder>... networkRoutes) The network routes.networkRoutes(NetworkRoute... networkRoutes) The network routes.routeTableArn(String routeTableArn) The ARN of the route table.routeTableTimestamp(Instant routeTableTimestamp) The route table creation time.routeTableType(String routeTableType) The route table type.routeTableType(RouteTableType routeTableType) The route table type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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
-
routeTableArn
The ARN of the route table.
- Parameters:
routeTableArn- The ARN of the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreNetworkSegmentEdge
GetNetworkRoutesResponse.Builder coreNetworkSegmentEdge(CoreNetworkSegmentEdgeIdentifier coreNetworkSegmentEdge) Describes a core network segment edge.
- Parameters:
coreNetworkSegmentEdge- Describes a core network segment edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreNetworkSegmentEdge
default GetNetworkRoutesResponse.Builder coreNetworkSegmentEdge(Consumer<CoreNetworkSegmentEdgeIdentifier.Builder> coreNetworkSegmentEdge) Describes a core network segment edge.
This is a convenience method that creates an instance of theCoreNetworkSegmentEdgeIdentifier.Builderavoiding the need to create one manually viaCoreNetworkSegmentEdgeIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocoreNetworkSegmentEdge(CoreNetworkSegmentEdgeIdentifier).- Parameters:
coreNetworkSegmentEdge- a consumer that will call methods onCoreNetworkSegmentEdgeIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeTableType
The route table type.
- Parameters:
routeTableType- The route table type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeTableType
The route table type.
- Parameters:
routeTableType- The route table type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeTableTimestamp
The route table creation time.
- Parameters:
routeTableTimestamp- The route table creation time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkRoutes
The network routes.
- Parameters:
networkRoutes- The network routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkRoutes
The network routes.
- Parameters:
networkRoutes- The network routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkRoutes
The network routes.
This is a convenience method that creates an instance of theNetworkRoute.Builderavoiding the need to create one manually viaNetworkRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkRoutes(List<NetworkRoute>).- Parameters:
networkRoutes- a consumer that will call methods onNetworkRoute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-