Interface GetNetworkRoutesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetNetworkRoutesResponse.Builder,GetNetworkRoutesResponse>,NetworkManagerResponse.Builder,SdkBuilder<GetNetworkRoutesResponse.Builder,GetNetworkRoutesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetNetworkRoutesResponse
public static interface GetNetworkRoutesResponse.Builder extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetNetworkRoutesResponse.Builder,GetNetworkRoutesResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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 Detail
-
routeTableArn
GetNetworkRoutesResponse.Builder routeTableArn(String 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:
coreNetworkSegmentEdge(CoreNetworkSegmentEdgeIdentifier)
-
routeTableType
GetNetworkRoutesResponse.Builder routeTableType(String 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,RouteTableType
-
routeTableType
GetNetworkRoutesResponse.Builder routeTableType(RouteTableType 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,RouteTableType
-
routeTableTimestamp
GetNetworkRoutesResponse.Builder routeTableTimestamp(Instant 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
GetNetworkRoutesResponse.Builder networkRoutes(Collection<NetworkRoute> 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
GetNetworkRoutesResponse.Builder networkRoutes(NetworkRoute... 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
GetNetworkRoutesResponse.Builder networkRoutes(Consumer<NetworkRoute.Builder>... 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 to#networkRoutes(List.) - 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:
#networkRoutes(java.util.Collection)
-
-