Interface TransitGatewayMeteringPolicyRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TransitGatewayMeteringPolicyRule.Builder,,TransitGatewayMeteringPolicyRule> SdkBuilder<TransitGatewayMeteringPolicyRule.Builder,,TransitGatewayMeteringPolicyRule> SdkPojo
- Enclosing class:
TransitGatewayMeteringPolicyRule
-
Method Summary
Modifier and TypeMethodDescriptiondestinationCidrBlock(String destinationCidrBlock) The destination CIDR block for the rule.destinationPortRange(String destinationPortRange) The destination port range for the rule.destinationTransitGatewayAttachmentId(String destinationTransitGatewayAttachmentId) The ID of the destination transit gateway attachment.destinationTransitGatewayAttachmentType(String destinationTransitGatewayAttachmentType) The type of the destination transit gateway attachment.destinationTransitGatewayAttachmentType(TransitGatewayAttachmentResourceType destinationTransitGatewayAttachmentType) The type of the destination transit gateway attachment.The protocol for the rule (1, 6, 17, etc.).sourceCidrBlock(String sourceCidrBlock) The source CIDR block for the rule.sourcePortRange(String sourcePortRange) The source port range for the rule.sourceTransitGatewayAttachmentId(String sourceTransitGatewayAttachmentId) The ID of the source transit gateway attachment.sourceTransitGatewayAttachmentType(String sourceTransitGatewayAttachmentType) The type of the source transit gateway attachment.sourceTransitGatewayAttachmentType(TransitGatewayAttachmentResourceType sourceTransitGatewayAttachmentType) The type of the source transit gateway attachment.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
-
sourceTransitGatewayAttachmentId
TransitGatewayMeteringPolicyRule.Builder sourceTransitGatewayAttachmentId(String sourceTransitGatewayAttachmentId) The ID of the source transit gateway attachment.
- Parameters:
sourceTransitGatewayAttachmentId- The ID of the source transit gateway attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceTransitGatewayAttachmentType
TransitGatewayMeteringPolicyRule.Builder sourceTransitGatewayAttachmentType(String sourceTransitGatewayAttachmentType) The type of the source transit gateway attachment. Note that the
tgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Parameters:
sourceTransitGatewayAttachmentType- The type of the source transit gateway attachment. Note that thetgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceTransitGatewayAttachmentType
TransitGatewayMeteringPolicyRule.Builder sourceTransitGatewayAttachmentType(TransitGatewayAttachmentResourceType sourceTransitGatewayAttachmentType) The type of the source transit gateway attachment. Note that the
tgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Parameters:
sourceTransitGatewayAttachmentType- The type of the source transit gateway attachment. Note that thetgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceCidrBlock
The source CIDR block for the rule.
- Parameters:
sourceCidrBlock- The source CIDR block for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePortRange
The source port range for the rule.
- Parameters:
sourcePortRange- The source port range for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationTransitGatewayAttachmentId
TransitGatewayMeteringPolicyRule.Builder destinationTransitGatewayAttachmentId(String destinationTransitGatewayAttachmentId) The ID of the destination transit gateway attachment.
- Parameters:
destinationTransitGatewayAttachmentId- The ID of the destination transit gateway attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationTransitGatewayAttachmentType
TransitGatewayMeteringPolicyRule.Builder destinationTransitGatewayAttachmentType(String destinationTransitGatewayAttachmentType) The type of the destination transit gateway attachment. Note that the
tgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Parameters:
destinationTransitGatewayAttachmentType- The type of the destination transit gateway attachment. Note that thetgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationTransitGatewayAttachmentType
TransitGatewayMeteringPolicyRule.Builder destinationTransitGatewayAttachmentType(TransitGatewayAttachmentResourceType destinationTransitGatewayAttachmentType) The type of the destination transit gateway attachment. Note that the
tgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Parameters:
destinationTransitGatewayAttachmentType- The type of the destination transit gateway attachment. Note that thetgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationCidrBlock
The destination CIDR block for the rule.
- Parameters:
destinationCidrBlock- The destination CIDR block for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPortRange
The destination port range for the rule.
- Parameters:
destinationPortRange- The destination port range for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The protocol for the rule (1, 6, 17, etc.).
- Parameters:
protocol- The protocol for the rule (1, 6, 17, etc.).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-