Interface CreateQuoteRequest.Builder

  • Method Details

    • outpostIdentifier

      CreateQuoteRequest.Builder outpostIdentifier(String outpostIdentifier)

      The ID or ARN of the Outpost to associate with the quote. If not specified, the quote is created without an Outpost association.

      Parameters:
      outpostIdentifier - The ID or ARN of the Outpost to associate with the quote. If not specified, the quote is created without an Outpost association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • countryCode

      CreateQuoteRequest.Builder countryCode(String countryCode)

      The country code for the Outpost site location.

      Parameters:
      countryCode - The country code for the Outpost site location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedCapacities

      CreateQuoteRequest.Builder requestedCapacities(Collection<QuoteCapacity> requestedCapacities)

      The capacity requirements for the quote. Each entry specifies a capacity type (such as Amazon EC2), the unit, and the quantity. For Amazon EC2, the quantity is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, the quantity is the total desired end-state capacity of the Outpost.

      Parameters:
      requestedCapacities - The capacity requirements for the quote. Each entry specifies a capacity type (such as Amazon EC2), the unit, and the quantity. For Amazon EC2, the quantity is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, the quantity is the total desired end-state capacity of the Outpost.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedCapacities

      CreateQuoteRequest.Builder requestedCapacities(QuoteCapacity... requestedCapacities)

      The capacity requirements for the quote. Each entry specifies a capacity type (such as Amazon EC2), the unit, and the quantity. For Amazon EC2, the quantity is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, the quantity is the total desired end-state capacity of the Outpost.

      Parameters:
      requestedCapacities - The capacity requirements for the quote. Each entry specifies a capacity type (such as Amazon EC2), the unit, and the quantity. For Amazon EC2, the quantity is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, the quantity is the total desired end-state capacity of the Outpost.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedCapacities

      CreateQuoteRequest.Builder requestedCapacities(Consumer<QuoteCapacity.Builder>... requestedCapacities)

      The capacity requirements for the quote. Each entry specifies a capacity type (such as Amazon EC2), the unit, and the quantity. For Amazon EC2, the quantity is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, the quantity is the total desired end-state capacity of the Outpost.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to requestedCapacities(List<QuoteCapacity>).

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

      CreateQuoteRequest.Builder requestedConstraints(Collection<QuoteConstraint> requestedConstraints)

      The physical constraints for the quote, such as maximum number of racks, maximum power draw per rack, or maximum weight per rack.

      Parameters:
      requestedConstraints - The physical constraints for the quote, such as maximum number of racks, maximum power draw per rack, or maximum weight per rack.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedConstraints

      CreateQuoteRequest.Builder requestedConstraints(QuoteConstraint... requestedConstraints)

      The physical constraints for the quote, such as maximum number of racks, maximum power draw per rack, or maximum weight per rack.

      Parameters:
      requestedConstraints - The physical constraints for the quote, such as maximum number of racks, maximum power draw per rack, or maximum weight per rack.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedConstraints

      CreateQuoteRequest.Builder requestedConstraints(Consumer<QuoteConstraint.Builder>... requestedConstraints)

      The physical constraints for the quote, such as maximum number of racks, maximum power draw per rack, or maximum weight per rack.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to requestedConstraints(List<QuoteConstraint>).

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

      CreateQuoteRequest.Builder requestedPaymentOptionsWithStrings(Collection<String> requestedPaymentOptions)

      The payment options to include in the quote pricing. If not specified, all available payment options are returned.

      Parameters:
      requestedPaymentOptions - The payment options to include in the quote pricing. If not specified, all available payment options are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentOptionsWithStrings

      CreateQuoteRequest.Builder requestedPaymentOptionsWithStrings(String... requestedPaymentOptions)

      The payment options to include in the quote pricing. If not specified, all available payment options are returned.

      Parameters:
      requestedPaymentOptions - The payment options to include in the quote pricing. If not specified, all available payment options are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentOptions

      CreateQuoteRequest.Builder requestedPaymentOptions(Collection<PaymentOption> requestedPaymentOptions)

      The payment options to include in the quote pricing. If not specified, all available payment options are returned.

      Parameters:
      requestedPaymentOptions - The payment options to include in the quote pricing. If not specified, all available payment options are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentOptions

      CreateQuoteRequest.Builder requestedPaymentOptions(PaymentOption... requestedPaymentOptions)

      The payment options to include in the quote pricing. If not specified, all available payment options are returned.

      Parameters:
      requestedPaymentOptions - The payment options to include in the quote pricing. If not specified, all available payment options are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentTermsWithStrings

      CreateQuoteRequest.Builder requestedPaymentTermsWithStrings(Collection<String> requestedPaymentTerms)

      The payment terms to include in the quote pricing. If not specified, all available payment terms are returned.

      Parameters:
      requestedPaymentTerms - The payment terms to include in the quote pricing. If not specified, all available payment terms are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentTermsWithStrings

      CreateQuoteRequest.Builder requestedPaymentTermsWithStrings(String... requestedPaymentTerms)

      The payment terms to include in the quote pricing. If not specified, all available payment terms are returned.

      Parameters:
      requestedPaymentTerms - The payment terms to include in the quote pricing. If not specified, all available payment terms are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentTerms

      CreateQuoteRequest.Builder requestedPaymentTerms(Collection<PaymentTerm> requestedPaymentTerms)

      The payment terms to include in the quote pricing. If not specified, all available payment terms are returned.

      Parameters:
      requestedPaymentTerms - The payment terms to include in the quote pricing. If not specified, all available payment terms are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentTerms

      CreateQuoteRequest.Builder requestedPaymentTerms(PaymentTerm... requestedPaymentTerms)

      The payment terms to include in the quote pricing. If not specified, all available payment terms are returned.

      Parameters:
      requestedPaymentTerms - The payment terms to include in the quote pricing. If not specified, all available payment terms are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateQuoteRequest.Builder description(String description)

      A description for the quote.

      Parameters:
      description - A description for the quote.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateQuoteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration 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.