public static interface PathComponent.Builder extends SdkPojo, CopyableBuilder<PathComponent.Builder,PathComponent>
| Modifier and Type | Method and Description |
|---|---|
PathComponent.Builder |
destinationCidrBlock(String destinationCidrBlock)
The destination CIDR block in the route table.
|
default PathComponent.Builder |
resource(Consumer<NetworkResourceSummary.Builder> resource)
The resource.
|
PathComponent.Builder |
resource(NetworkResourceSummary resource)
The resource.
|
PathComponent.Builder |
sequence(Integer sequence)
The sequence number in the path.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPathComponent.Builder sequence(Integer sequence)
The sequence number in the path. The destination is 0.
sequence - The sequence number in the path. The destination is 0.PathComponent.Builder resource(NetworkResourceSummary resource)
The resource.
resource - The resource.default PathComponent.Builder resource(Consumer<NetworkResourceSummary.Builder> resource)
The resource.
This is a convenience method that creates an instance of theNetworkResourceSummary.Builder avoiding
the need to create one manually via NetworkResourceSummary.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to resource(NetworkResourceSummary).
resource - a consumer that will call methods on NetworkResourceSummary.Builderresource(NetworkResourceSummary)PathComponent.Builder destinationCidrBlock(String destinationCidrBlock)
The destination CIDR block in the route table.
destinationCidrBlock - The destination CIDR block in the route table.Copyright © 2023. All rights reserved.