Class CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayMeteringPolicyEntryPropsMixin>
- Enclosing class:
CfnTransitGatewayMeteringPolicyEntryPropsMixin
@Stability(Stable)
public static final class CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayMeteringPolicyEntryPropsMixin>
A fluent builder for
CfnTransitGatewayMeteringPolicyEntryPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) destinationCidrBlock(String destinationCidrBlock) Describes an IPv4 CIDR block.destinationPortRange(String destinationPortRange) Describes a range of ports.destinationTransitGatewayAttachmentId(String destinationTransitGatewayAttachmentId) The ID of the source attachment through which traffic leaves a transit gateway.destinationTransitGatewayAttachmentType(String destinationTransitGatewayAttachmentType) meteredAccount(String meteredAccount) The AWS account ID to which the metered traffic is attributed.policyRuleNumber(Number policyRuleNumber) The rule number of the metering policy entry.The protocol of the traffic.sourceCidrBlock(String sourceCidrBlock) Describes an IPv4 CIDR block.sourcePortRange(String sourcePortRange) Describes a range of ports.sourceTransitGatewayAttachmentId(String sourceTransitGatewayAttachmentId) The ID of the source attachment through which traffic enters a transit gateway.sourceTransitGatewayAttachmentType(String sourceTransitGatewayAttachmentType) transitGatewayMeteringPolicyId(String transitGatewayMeteringPolicyId) The ID of the transit gateway metering policy for which the entry is being created.
-
Method Details
-
create
@Stability(Stable) public static CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder.
-
destinationCidrBlock
@Stability(Stable) public CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder destinationCidrBlock(String destinationCidrBlock) Describes an IPv4 CIDR block.- Parameters:
destinationCidrBlock- Describes an IPv4 CIDR block. This parameter is required.- Returns:
this- See Also:
-
destinationPortRange
@Stability(Stable) public CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder destinationPortRange(String destinationPortRange) Describes a range of ports.- Parameters:
destinationPortRange- Describes a range of ports. This parameter is required.- Returns:
this- See Also:
-
destinationTransitGatewayAttachmentId
@Stability(Stable) public CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder destinationTransitGatewayAttachmentId(String destinationTransitGatewayAttachmentId) The ID of the source attachment through which traffic leaves a transit gateway.- Parameters:
destinationTransitGatewayAttachmentId- The ID of the source attachment through which traffic leaves a transit gateway. This parameter is required.- Returns:
this- See Also:
-
destinationTransitGatewayAttachmentType
@Stability(Stable) public CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder destinationTransitGatewayAttachmentType(String destinationTransitGatewayAttachmentType) - Parameters:
destinationTransitGatewayAttachmentType- This parameter is required.- Returns:
this- See Also:
-
meteredAccount
@Stability(Stable) public CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder meteredAccount(String meteredAccount) The AWS account ID to which the metered traffic is attributed.- Parameters:
meteredAccount- The AWS account ID to which the metered traffic is attributed. This parameter is required.- Returns:
this- See Also:
-
policyRuleNumber
@Stability(Stable) public CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder policyRuleNumber(Number policyRuleNumber) The rule number of the metering policy entry.- Parameters:
policyRuleNumber- The rule number of the metering policy entry. This parameter is required.- Returns:
this- See Also:
-
protocol
@Stability(Stable) public CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder protocol(String protocol) The protocol of the traffic.- Parameters:
protocol- The protocol of the traffic. This parameter is required.- Returns:
this- See Also:
-
sourceCidrBlock
@Stability(Stable) public CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder sourceCidrBlock(String sourceCidrBlock) Describes an IPv4 CIDR block.- Parameters:
sourceCidrBlock- Describes an IPv4 CIDR block. This parameter is required.- Returns:
this- See Also:
-
sourcePortRange
@Stability(Stable) public CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder sourcePortRange(String sourcePortRange) Describes a range of ports.- Parameters:
sourcePortRange- Describes a range of ports. This parameter is required.- Returns:
this- See Also:
-
sourceTransitGatewayAttachmentId
@Stability(Stable) public CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder sourceTransitGatewayAttachmentId(String sourceTransitGatewayAttachmentId) The ID of the source attachment through which traffic enters a transit gateway.- Parameters:
sourceTransitGatewayAttachmentId- The ID of the source attachment through which traffic enters a transit gateway. This parameter is required.- Returns:
this- See Also:
-
sourceTransitGatewayAttachmentType
@Stability(Stable) public CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder sourceTransitGatewayAttachmentType(String sourceTransitGatewayAttachmentType) - Parameters:
sourceTransitGatewayAttachmentType- This parameter is required.- Returns:
this- See Also:
-
transitGatewayMeteringPolicyId
@Stability(Stable) public CfnTransitGatewayMeteringPolicyEntryPropsMixin.Builder transitGatewayMeteringPolicyId(String transitGatewayMeteringPolicyId) The ID of the transit gateway metering policy for which the entry is being created.- Parameters:
transitGatewayMeteringPolicyId- The ID of the transit gateway metering policy for which the entry is being created. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayMeteringPolicyEntryPropsMixin>- Returns:
- a newly built instance of
CfnTransitGatewayMeteringPolicyEntryPropsMixin.
-