Interface VirtualEdgeNetworkGatewayRouteTargetRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualEdgeNetworkGatewayRouteTargetRequest.Builder,,VirtualEdgeNetworkGatewayRouteTargetRequest> SdkBuilder<VirtualEdgeNetworkGatewayRouteTargetRequest.Builder,,VirtualEdgeNetworkGatewayRouteTargetRequest> SdkPojo
- Enclosing class:
VirtualEdgeNetworkGatewayRouteTargetRequest
@Mutable
@NotThreadSafe
public static interface VirtualEdgeNetworkGatewayRouteTargetRequest.Builder
extends SdkPojo, CopyableBuilder<VirtualEdgeNetworkGatewayRouteTargetRequest.Builder,VirtualEdgeNetworkGatewayRouteTargetRequest>
-
Method Summary
Modifier and TypeMethodDescriptionipv4Address(String ipv4Address) The IPv4 address of the target.ipv6Address(String ipv6Address) The IPv6 address of the target.secondaryInterfaceId(String secondaryInterfaceId) The ID of the secondary interface.secondarySubnetId(String secondarySubnetId) The ID of the secondary subnet.The weight of the target.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
-
secondarySubnetId
The ID of the secondary subnet.
- Parameters:
secondarySubnetId- The ID of the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryInterfaceId
VirtualEdgeNetworkGatewayRouteTargetRequest.Builder secondaryInterfaceId(String secondaryInterfaceId) The ID of the secondary interface.
- Parameters:
secondaryInterfaceId- The ID of the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4Address
The IPv4 address of the target.
- Parameters:
ipv4Address- The IPv4 address of the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6Address
The IPv6 address of the target.
- Parameters:
ipv6Address- The IPv6 address of the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weight
The weight of the target. A weight of 1 sends traffic to the target. A weight of 0 stops sending traffic to the target. The default is 1.
- Parameters:
weight- The weight of the target. A weight of 1 sends traffic to the target. A weight of 0 stops sending traffic to the target. The default is 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-