Interface TransitGatewayMeteringPolicyRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TransitGatewayMeteringPolicyRule.Builder,TransitGatewayMeteringPolicyRule>,SdkBuilder<TransitGatewayMeteringPolicyRule.Builder,TransitGatewayMeteringPolicyRule>,SdkPojo
- Enclosing class:
- TransitGatewayMeteringPolicyRule
@Mutable @NotThreadSafe public static interface TransitGatewayMeteringPolicyRule.Builder extends SdkPojo, CopyableBuilder<TransitGatewayMeteringPolicyRule.Builder,TransitGatewayMeteringPolicyRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransitGatewayMeteringPolicyRule.BuilderdestinationCidrBlock(String destinationCidrBlock)The destination CIDR block for the rule.TransitGatewayMeteringPolicyRule.BuilderdestinationPortRange(String destinationPortRange)The destination port range for the rule.TransitGatewayMeteringPolicyRule.BuilderdestinationTransitGatewayAttachmentId(String destinationTransitGatewayAttachmentId)The ID of the destination transit gateway attachment.TransitGatewayMeteringPolicyRule.BuilderdestinationTransitGatewayAttachmentType(String destinationTransitGatewayAttachmentType)The type of the destination transit gateway attachment.TransitGatewayMeteringPolicyRule.BuilderdestinationTransitGatewayAttachmentType(TransitGatewayAttachmentResourceType destinationTransitGatewayAttachmentType)The type of the destination transit gateway attachment.TransitGatewayMeteringPolicyRule.Builderprotocol(String protocol)The protocol for the rule (1, 6, 17, etc.).TransitGatewayMeteringPolicyRule.BuildersourceCidrBlock(String sourceCidrBlock)The source CIDR block for the rule.TransitGatewayMeteringPolicyRule.BuildersourcePortRange(String sourcePortRange)The source port range for the rule.TransitGatewayMeteringPolicyRule.BuildersourceTransitGatewayAttachmentId(String sourceTransitGatewayAttachmentId)The ID of the source transit gateway attachment.TransitGatewayMeteringPolicyRule.BuildersourceTransitGatewayAttachmentType(String sourceTransitGatewayAttachmentType)The type of the source transit gateway attachment.TransitGatewayMeteringPolicyRule.BuildersourceTransitGatewayAttachmentType(TransitGatewayAttachmentResourceType sourceTransitGatewayAttachmentType)The type of the source transit gateway attachment.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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:
TransitGatewayAttachmentResourceType,TransitGatewayAttachmentResourceType
-
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:
TransitGatewayAttachmentResourceType,TransitGatewayAttachmentResourceType
-
sourceCidrBlock
TransitGatewayMeteringPolicyRule.Builder sourceCidrBlock(String 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
TransitGatewayMeteringPolicyRule.Builder sourcePortRange(String 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:
TransitGatewayAttachmentResourceType,TransitGatewayAttachmentResourceType
-
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:
TransitGatewayAttachmentResourceType,TransitGatewayAttachmentResourceType
-
destinationCidrBlock
TransitGatewayMeteringPolicyRule.Builder destinationCidrBlock(String 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
TransitGatewayMeteringPolicyRule.Builder destinationPortRange(String 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
TransitGatewayMeteringPolicyRule.Builder protocol(String 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.
-
-