Interface CreateTransitGatewayMeteringPolicyEntryRequest.Builder

  • Method Details

    • 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

      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:
    • 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:
    • 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

      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:
    • 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:
    • 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

      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.
    • meteredAccount

      The Amazon Web Services account ID to which the metered traffic should be attributed.

      Parameters:
      meteredAccount - The Amazon Web Services account ID to which the metered traffic should be attributed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • meteredAccount

      The Amazon Web Services account ID to which the metered traffic should be attributed.

      Parameters:
      meteredAccount - The Amazon Web Services account ID to which the metered traffic should be attributed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.