Interface CreateQuoteRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateQuoteRequest.Builder,,CreateQuoteRequest> OutpostsRequest.Builder,SdkBuilder<CreateQuoteRequest.Builder,,CreateQuoteRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateQuoteRequest
-
Method Summary
Modifier and TypeMethodDescriptioncountryCode(String countryCode) The country code for the Outpost site location.description(String description) A description for the quote.outpostIdentifier(String outpostIdentifier) The ID or ARN of the Outpost to associate with the quote.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requestedCapacities(Collection<QuoteCapacity> requestedCapacities) The capacity requirements for the quote.requestedCapacities(Consumer<QuoteCapacity.Builder>... requestedCapacities) The capacity requirements for the quote.requestedCapacities(QuoteCapacity... requestedCapacities) The capacity requirements for the quote.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.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.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.requestedPaymentOptions(Collection<PaymentOption> requestedPaymentOptions) The payment options to include in the quote pricing.requestedPaymentOptions(PaymentOption... requestedPaymentOptions) The payment options to include in the quote pricing.requestedPaymentOptionsWithStrings(String... requestedPaymentOptions) The payment options to include in the quote pricing.requestedPaymentOptionsWithStrings(Collection<String> requestedPaymentOptions) The payment options to include in the quote pricing.requestedPaymentTerms(Collection<PaymentTerm> requestedPaymentTerms) The payment terms to include in the quote pricing.requestedPaymentTerms(PaymentTerm... requestedPaymentTerms) The payment terms to include in the quote pricing.requestedPaymentTermsWithStrings(String... requestedPaymentTerms) The payment terms to include in the quote pricing.requestedPaymentTermsWithStrings(Collection<String> requestedPaymentTerms) The payment terms to include in the quote pricing.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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 theQuoteCapacity.Builderavoiding the need to create one manually viaQuoteCapacity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequestedCapacities(List<QuoteCapacity>).- Parameters:
requestedCapacities- a consumer that will call methods onQuoteCapacity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theQuoteConstraint.Builderavoiding the need to create one manually viaQuoteConstraint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequestedConstraints(List<QuoteConstraint>).- Parameters:
requestedConstraints- a consumer that will call methods onQuoteConstraint.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
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
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
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
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateQuoteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-