Interface PathComponent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PathComponent.Builder,PathComponent>,SdkBuilder<PathComponent.Builder,PathComponent>,SdkPojo
- Enclosing class:
- PathComponent
public static interface PathComponent.Builder extends SdkPojo, CopyableBuilder<PathComponent.Builder,PathComponent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PathComponent.BuilderdestinationCidrBlock(String destinationCidrBlock)The destination CIDR block in the route table.default PathComponent.Builderresource(Consumer<NetworkResourceSummary.Builder> resource)The resource.PathComponent.Builderresource(NetworkResourceSummary resource)The resource.PathComponent.Buildersequence(Integer sequence)The sequence number in the 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
-
sequence
PathComponent.Builder sequence(Integer sequence)
The sequence number in the path. The destination is 0.
- Parameters:
sequence- The sequence number in the path. The destination is 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
PathComponent.Builder resource(NetworkResourceSummary resource)
The resource.
- Parameters:
resource- The resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
default PathComponent.Builder resource(Consumer<NetworkResourceSummary.Builder> resource)
The resource.
This is a convenience method that creates an instance of theNetworkResourceSummary.Builderavoiding the need to create one manually viaNetworkResourceSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresource(NetworkResourceSummary).- Parameters:
resource- a consumer that will call methods onNetworkResourceSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resource(NetworkResourceSummary)
-
destinationCidrBlock
PathComponent.Builder destinationCidrBlock(String destinationCidrBlock)
The destination CIDR block in the route table.
- Parameters:
destinationCidrBlock- The destination CIDR block in the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-