Interface PathComponent.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<PathComponent.Builder,,PathComponent> SdkBuilder<PathComponent.Builder,,PathComponent> SdkPojo
- Enclosing class:
 PathComponent
@Mutable
@NotThreadSafe
public static interface PathComponent.Builder
extends SdkPojo, CopyableBuilder<PathComponent.Builder,PathComponent> 
- 
Method Summary
Modifier and TypeMethodDescriptiondestinationCidrBlock(String destinationCidrBlock) The destination CIDR block in the route table.default PathComponent.Builderresource(Consumer<NetworkResourceSummary.Builder> resource) The resource.resource(NetworkResourceSummary resource) The resource.The sequence number in the path.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
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
The resource.
- Parameters:
 resource- The resource.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
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:
 
 - 
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.
 
 
 -