Class CfnTransitGatewayMeteringPolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayMeteringPolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayMeteringPolicyPropsMixin>
- Enclosing class:
CfnTransitGatewayMeteringPolicyPropsMixin
@Stability(Stable)
public static final class CfnTransitGatewayMeteringPolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayMeteringPolicyPropsMixin>
A fluent builder for
CfnTransitGatewayMeteringPolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) middleboxAttachmentIds(List<String> middleboxAttachmentIds) The IDs of the middlebox attachments associated with the metering policy.The tags assigned to the transit gateway metering policy.transitGatewayId(String transitGatewayId) The ID of the transit gateway associated with the metering policy.
-
Method Details
-
create
@Stability(Stable) public static CfnTransitGatewayMeteringPolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTransitGatewayMeteringPolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTransitGatewayMeteringPolicyPropsMixin.Builder.
-
middleboxAttachmentIds
@Stability(Stable) public CfnTransitGatewayMeteringPolicyPropsMixin.Builder middleboxAttachmentIds(List<String> middleboxAttachmentIds) The IDs of the middlebox attachments associated with the metering policy.- Parameters:
middleboxAttachmentIds- The IDs of the middlebox attachments associated with the metering policy. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnTransitGatewayMeteringPolicyPropsMixin.Builder tags(List<? extends CfnTag> tags) The tags assigned to the transit gateway metering policy.- Parameters:
tags- The tags assigned to the transit gateway metering policy. This parameter is required.- Returns:
this- See Also:
-
transitGatewayId
@Stability(Stable) public CfnTransitGatewayMeteringPolicyPropsMixin.Builder transitGatewayId(String transitGatewayId) The ID of the transit gateway associated with the metering policy.- Parameters:
transitGatewayId- The ID of the transit gateway associated with the metering policy. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayMeteringPolicyPropsMixin>- Returns:
- a newly built instance of
CfnTransitGatewayMeteringPolicyPropsMixin.
-