Interface NetworkPathComponent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkPathComponent.Builder,
,NetworkPathComponent> SdkBuilder<NetworkPathComponent.Builder,
,NetworkPathComponent> SdkPojo
- Enclosing class:
NetworkPathComponent
-
Method Summary
Modifier and TypeMethodDescriptioncomponentId
(String componentId) The identifier of a component in the network path.componentType
(String componentType) The type of component.default NetworkPathComponent.Builder
egress
(Consumer<NetworkHeader.Builder> egress) Information about the component that comes after the current component in the network path.egress
(NetworkHeader egress) Information about the component that comes after the current component in the network path.default NetworkPathComponent.Builder
ingress
(Consumer<NetworkHeader.Builder> ingress) Information about the component that comes before the current node in the network path.ingress
(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 Details
-
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
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
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
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.Builder
avoiding the need to create one manually viaNetworkHeader.builder()
.When the
Consumer
completes,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:
-
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
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.Builder
avoiding the need to create one manually viaNetworkHeader.builder()
.When the
Consumer
completes,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:
-