Interface NetworkHeader.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkHeader.Builder,NetworkHeader>,SdkBuilder<NetworkHeader.Builder,NetworkHeader>,SdkPojo
- Enclosing class:
- NetworkHeader
public static interface NetworkHeader.Builder extends SdkPojo, CopyableBuilder<NetworkHeader.Builder,NetworkHeader>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NetworkHeader.Builderdestination(Consumer<NetworkPathComponentDetails.Builder> destination)Information about the destination of the component.NetworkHeader.Builderdestination(NetworkPathComponentDetails destination)Information about the destination of the component.NetworkHeader.Builderprotocol(String protocol)The protocol used for the component.default NetworkHeader.Buildersource(Consumer<NetworkPathComponentDetails.Builder> source)Information about the origin of the component.NetworkHeader.Buildersource(NetworkPathComponentDetails source)Information about the origin of the component.-
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
-
protocol
NetworkHeader.Builder protocol(String protocol)
The protocol used for the component.
Length Constraints: Minimum of 1. Maximum of 16.
- Parameters:
protocol- The protocol used for the component.Length Constraints: Minimum of 1. Maximum of 16.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
NetworkHeader.Builder destination(NetworkPathComponentDetails destination)
Information about the destination of the component.
- Parameters:
destination- Information about the destination of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default NetworkHeader.Builder destination(Consumer<NetworkPathComponentDetails.Builder> destination)
Information about the destination of the component.
This is a convenience method that creates an instance of theNetworkPathComponentDetails.Builderavoiding the need to create one manually viaNetworkPathComponentDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestination(NetworkPathComponentDetails).- Parameters:
destination- a consumer that will call methods onNetworkPathComponentDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
destination(NetworkPathComponentDetails)
-
source
NetworkHeader.Builder source(NetworkPathComponentDetails source)
Information about the origin of the component.
- Parameters:
source- Information about the origin of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default NetworkHeader.Builder source(Consumer<NetworkPathComponentDetails.Builder> source)
Information about the origin of the component.
This is a convenience method that creates an instance of theNetworkPathComponentDetails.Builderavoiding the need to create one manually viaNetworkPathComponentDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(NetworkPathComponentDetails).- Parameters:
source- a consumer that will call methods onNetworkPathComponentDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
source(NetworkPathComponentDetails)
-
-