Interface CreateTransitGatewayMeteringPolicyEntryRequest.Builder

    • Method Detail

      • transitGatewayMeteringPolicyId

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder transitGatewayMeteringPolicyId​(String transitGatewayMeteringPolicyId)

        The ID of the transit gateway metering policy to add the entry to.

        Parameters:
        transitGatewayMeteringPolicyId - The ID of the transit gateway metering policy to add the entry to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyRuleNumber

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder policyRuleNumber​(Integer policyRuleNumber)

        The rule number for the metering policy entry. Rules are processed in order from lowest to highest number.

        Parameters:
        policyRuleNumber - The rule number for the metering policy entry. Rules are processed in order from lowest to highest number.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceTransitGatewayAttachmentId

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder sourceTransitGatewayAttachmentId​(String sourceTransitGatewayAttachmentId)

        The ID of the source transit gateway attachment for traffic matching.

        Parameters:
        sourceTransitGatewayAttachmentId - The ID of the source transit gateway attachment for traffic matching.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceTransitGatewayAttachmentType

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder sourceTransitGatewayAttachmentType​(String sourceTransitGatewayAttachmentType)

        The type of the source transit gateway attachment for traffic matching. 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 for traffic matching. 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

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder sourceTransitGatewayAttachmentType​(TransitGatewayAttachmentResourceType sourceTransitGatewayAttachmentType)

        The type of the source transit gateway attachment for traffic matching. 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 for traffic matching. 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

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder sourceCidrBlock​(String sourceCidrBlock)

        The source CIDR block for traffic matching.

        Parameters:
        sourceCidrBlock - The source CIDR block for traffic matching.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourcePortRange

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder sourcePortRange​(String sourcePortRange)

        The source port range for traffic matching.

        Parameters:
        sourcePortRange - The source port range for traffic matching.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationTransitGatewayAttachmentId

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder destinationTransitGatewayAttachmentId​(String destinationTransitGatewayAttachmentId)

        The ID of the destination transit gateway attachment for traffic matching.

        Parameters:
        destinationTransitGatewayAttachmentId - The ID of the destination transit gateway attachment for traffic matching.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationTransitGatewayAttachmentType

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder destinationTransitGatewayAttachmentType​(String destinationTransitGatewayAttachmentType)

        The type of the destination transit gateway attachment for traffic matching. 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 for traffic matching. 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

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder destinationTransitGatewayAttachmentType​(TransitGatewayAttachmentResourceType destinationTransitGatewayAttachmentType)

        The type of the destination transit gateway attachment for traffic matching. 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 for traffic matching. 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

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder destinationCidrBlock​(String destinationCidrBlock)

        The destination CIDR block for traffic matching.

        Parameters:
        destinationCidrBlock - The destination CIDR block for traffic matching.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationPortRange

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder destinationPortRange​(String destinationPortRange)

        The destination port range for traffic matching.

        Parameters:
        destinationPortRange - The destination port range for traffic matching.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocol

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder protocol​(String protocol)

        The protocol for traffic matching (1, 6, 17, etc.).

        Parameters:
        protocol - The protocol for traffic matching (1, 6, 17, etc.).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dryRun

        CreateTransitGatewayMeteringPolicyEntryRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.