Interface NetworkPathComponent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkPathComponent.Builder,NetworkPathComponent>,SdkBuilder<NetworkPathComponent.Builder,NetworkPathComponent>,SdkPojo
- Enclosing class:
- NetworkPathComponent
public static interface NetworkPathComponent.Builder extends SdkPojo, CopyableBuilder<NetworkPathComponent.Builder,NetworkPathComponent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NetworkPathComponent.BuildercomponentId(String componentId)The identifier of a component in the network path.NetworkPathComponent.BuildercomponentType(String componentType)The type of component.default NetworkPathComponent.Builderegress(Consumer<NetworkHeader.Builder> egress)Information about the component that comes after the current component in the network path.NetworkPathComponent.Builderegress(NetworkHeader egress)Information about the component that comes after the current component in the network path.default NetworkPathComponent.Builderingress(Consumer<NetworkHeader.Builder> ingress)Information about the component that comes before the current node in the network path.NetworkPathComponent.Builderingress(NetworkHeader ingress)Information about the component that comes before the current node in the network path.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
componentId
NetworkPathComponent.Builder componentId(String componentId)
The identifier of a component in the network path.
Length Constraints: Minimum of 1. Maximum of 32.
- Parameters:
componentId- The identifier of a component in the network path.Length Constraints: Minimum of 1. Maximum of 32.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentType
NetworkPathComponent.Builder componentType(String componentType)
The type of component.
Length Constraints: Minimum of 1. Maximum of 32.
- Parameters:
componentType- The type of component.Length Constraints: Minimum of 1. Maximum of 32.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egress
NetworkPathComponent.Builder egress(NetworkHeader egress)
Information about the component that comes after the current component in the network path.
- Parameters:
egress- Information about the component that comes after the current component in the network path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egress
default NetworkPathComponent.Builder egress(Consumer<NetworkHeader.Builder> egress)
Information about the component that comes after the current component in the network path.
This is a convenience method that creates an instance of theNetworkHeader.Builderavoiding the need to create one manually viaNetworkHeader.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toegress(NetworkHeader).- Parameters:
egress- a consumer that will call methods onNetworkHeader.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
egress(NetworkHeader)
-
ingress
NetworkPathComponent.Builder ingress(NetworkHeader ingress)
Information about the component that comes before the current node in the network path.
- Parameters:
ingress- Information about the component that comes before the current node in the network path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingress
default NetworkPathComponent.Builder ingress(Consumer<NetworkHeader.Builder> ingress)
Information about the component that comes before the current node in the network path.
This is a convenience method that creates an instance of theNetworkHeader.Builderavoiding the need to create one manually viaNetworkHeader.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toingress(NetworkHeader).- Parameters:
ingress- a consumer that will call methods onNetworkHeader.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ingress(NetworkHeader)
-
-