Interface AnalysisTransitGatewayPolicyTableEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AnalysisTransitGatewayPolicyTableEntry.Builder,,AnalysisTransitGatewayPolicyTableEntry> SdkBuilder<AnalysisTransitGatewayPolicyTableEntry.Builder,,AnalysisTransitGatewayPolicyTableEntry> SdkPojo
- Enclosing class:
AnalysisTransitGatewayPolicyTableEntry
-
Method Summary
Modifier and TypeMethodDescriptiondestinationCidr(String destinationCidr) The destination CIDR block.destinationPortRange(Consumer<PortRange.Builder> destinationPortRange) The destination port range.destinationPortRange(PortRange destinationPortRange) The destination port range.The protocol number.ruleNumber(Integer ruleNumber) The rule number for the policy table entry.sourceCidr(String sourceCidr) The source CIDR block.sourcePortRange(Consumer<PortRange.Builder> sourcePortRange) The source port range.sourcePortRange(PortRange sourcePortRange) The source port range.targetRouteTableId(String targetRouteTableId) The ID of the transit gateway route table to which the entry routes matching traffic.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
-
ruleNumber
The rule number for the policy table entry. Entries are evaluated in ascending order of rule number.
- Parameters:
ruleNumber- The rule number for the policy table entry. Entries are evaluated in ascending order of rule number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The protocol number. A value of
-1means that the entry matches all protocols.- Parameters:
protocol- The protocol number. A value of-1means that the entry matches all protocols.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCidr
The source CIDR block. If this value is not present, the entry matches any source address.
- Parameters:
sourceCidr- The source CIDR block. If this value is not present, the entry matches any source address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationCidr
The destination CIDR block. If this value is not present, the entry matches any destination address.
- Parameters:
destinationCidr- The destination CIDR block. If this value is not present, the entry matches any destination address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePortRange
The source port range. If this value is not present, the entry matches any source port.
- Parameters:
sourcePortRange- The source port range. If this value is not present, the entry matches any source port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePortRange
default AnalysisTransitGatewayPolicyTableEntry.Builder sourcePortRange(Consumer<PortRange.Builder> sourcePortRange) The source port range. If this value is not present, the entry matches any source port.
This is a convenience method that creates an instance of thePortRange.Builderavoiding the need to create one manually viaPortRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourcePortRange(PortRange).- Parameters:
sourcePortRange- a consumer that will call methods onPortRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationPortRange
The destination port range. If this value is not present, the entry matches any destination port.
- Parameters:
destinationPortRange- The destination port range. If this value is not present, the entry matches any destination port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPortRange
default AnalysisTransitGatewayPolicyTableEntry.Builder destinationPortRange(Consumer<PortRange.Builder> destinationPortRange) The destination port range. If this value is not present, the entry matches any destination port.
This is a convenience method that creates an instance of thePortRange.Builderavoiding the need to create one manually viaPortRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationPortRange(PortRange).- Parameters:
destinationPortRange- a consumer that will call methods onPortRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetRouteTableId
The ID of the transit gateway route table to which the entry routes matching traffic.
- Parameters:
targetRouteTableId- The ID of the transit gateway route table to which the entry routes matching traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-