Interface TransitGatewayMeteringPolicyRule.Builder

    • 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-peering resource 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 the tgw-peering resource 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-peering resource 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 the tgw-peering resource 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-peering resource 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 the tgw-peering resource 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-peering resource 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 the tgw-peering resource 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.