Interface NatFlexCostAllocationPolicyDocument.Builder

  • Method Details

    • reportingGranularityWithStrings

      NatFlexCostAllocationPolicyDocument.Builder reportingGranularityWithStrings(Collection<String> reportingGranularity)

      The resource granularity level at which networking costs are allocated. This parameter is required. Specify exactly one value. Valid values are eni, ec2, subnet, vpc, account, and cidr.

      Parameters:
      reportingGranularity - The resource granularity level at which networking costs are allocated. This parameter is required. Specify exactly one value. Valid values are eni, ec2, subnet, vpc, account, and cidr.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reportingGranularityWithStrings

      NatFlexCostAllocationPolicyDocument.Builder reportingGranularityWithStrings(String... reportingGranularity)

      The resource granularity level at which networking costs are allocated. This parameter is required. Specify exactly one value. Valid values are eni, ec2, subnet, vpc, account, and cidr.

      Parameters:
      reportingGranularity - The resource granularity level at which networking costs are allocated. This parameter is required. Specify exactly one value. Valid values are eni, ec2, subnet, vpc, account, and cidr.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reportingGranularity

      The resource granularity level at which networking costs are allocated. This parameter is required. Specify exactly one value. Valid values are eni, ec2, subnet, vpc, account, and cidr.

      Parameters:
      reportingGranularity - The resource granularity level at which networking costs are allocated. This parameter is required. Specify exactly one value. Valid values are eni, ec2, subnet, vpc, account, and cidr.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reportingGranularity

      The resource granularity level at which networking costs are allocated. This parameter is required. Specify exactly one value. Valid values are eni, ec2, subnet, vpc, account, and cidr.

      Parameters:
      reportingGranularity - The resource granularity level at which networking costs are allocated. This parameter is required. Specify exactly one value. Valid values are eni, ec2, subnet, vpc, account, and cidr.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dimensionsWithStrings

      The cost dimensions to report. This parameter is required. Valid values are data-transfer and data-processing.

      Parameters:
      dimensions - The cost dimensions to report. This parameter is required. Valid values are data-transfer and data-processing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dimensionsWithStrings

      NatFlexCostAllocationPolicyDocument.Builder dimensionsWithStrings(String... dimensions)

      The cost dimensions to report. This parameter is required. Valid values are data-transfer and data-processing.

      Parameters:
      dimensions - The cost dimensions to report. This parameter is required. Valid values are data-transfer and data-processing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dimensions

      The cost dimensions to report. This parameter is required. Valid values are data-transfer and data-processing.

      Parameters:
      dimensions - The cost dimensions to report. This parameter is required. Valid values are data-transfer and data-processing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dimensions

      The cost dimensions to report. This parameter is required. Valid values are data-transfer and data-processing.

      Parameters:
      dimensions - The cost dimensions to report. This parameter is required. Valid values are data-transfer and data-processing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cidrRangeSpecifications

      The CIDR range mappings to use for cost allocation. Specify this value when ReportingGranularity is cidr, and omit it otherwise.

      Parameters:
      cidrRangeSpecifications - The CIDR range mappings to use for cost allocation. Specify this value when ReportingGranularity is cidr, and omit it otherwise.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cidrRangeSpecifications

      The CIDR range mappings to use for cost allocation. Specify this value when ReportingGranularity is cidr, and omit it otherwise.

      This is a convenience method that creates an instance of the FlexCostAllocationCidrRangeSpecifications.Builder avoiding the need to create one manually via FlexCostAllocationCidrRangeSpecifications.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cidrRangeSpecifications(FlexCostAllocationCidrRangeSpecifications).

      Parameters:
      cidrRangeSpecifications - a consumer that will call methods on FlexCostAllocationCidrRangeSpecifications.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: