Interface SseConnectRoute.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SseConnectRoute.Builder,,SseConnectRoute> SdkBuilder<SseConnectRoute.Builder,,SseConnectRoute> SdkPojo
- Enclosing class:
SseConnectRoute
-
Method Summary
Modifier and TypeMethodDescriptiondestinationCidrBlock(String destinationCidrBlock) The destination CIDR block of the route.destinations(Collection<SseConnectRouteDestination> destinations) The destinations of the route.destinations(Consumer<SseConnectRouteDestination.Builder>... destinations) The destinations of the route.destinations(SseConnectRouteDestination... destinations) The destinations of the route.The source of the traffic that this route applies to.source(SseConnectRouteSource source) The source of the traffic that this route applies to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
destinationCidrBlock
The destination CIDR block of the route.
- Parameters:
destinationCidrBlock- The destination CIDR block of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The destinations of the route.
- Parameters:
destinations- The destinations of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The destinations of the route.
- Parameters:
destinations- The destinations of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The destinations of the route.
This is a convenience method that creates an instance of theSseConnectRouteDestination.Builderavoiding the need to create one manually viaSseConnectRouteDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinations(List<SseConnectRouteDestination>).- Parameters:
destinations- a consumer that will call methods onSseConnectRouteDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
The source of the traffic that this route applies to. Valid values:
-
SSE– Traffic that the SSE connect receives from the SSE provider. -
ATTACHED_NETWORK– Traffic that the SSE connect receives from an attached transit gateway or core network.
- Parameters:
source- The source of the traffic that this route applies to. Valid values:-
SSE– Traffic that the SSE connect receives from the SSE provider. -
ATTACHED_NETWORK– Traffic that the SSE connect receives from an attached transit gateway or core network.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
source
The source of the traffic that this route applies to. Valid values:
-
SSE– Traffic that the SSE connect receives from the SSE provider. -
ATTACHED_NETWORK– Traffic that the SSE connect receives from an attached transit gateway or core network.
- Parameters:
source- The source of the traffic that this route applies to. Valid values:-
SSE– Traffic that the SSE connect receives from the SSE provider. -
ATTACHED_NETWORK– Traffic that the SSE connect receives from an attached transit gateway or core network.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-