Interface QuoteSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QuoteSpecification.Builder,,QuoteSpecification> SdkBuilder<QuoteSpecification.Builder,,QuoteSpecification> SdkPojo
- Enclosing class:
QuoteSpecification
-
Method Summary
Modifier and TypeMethodDescriptiondefault QuoteSpecification.BuilderexistingRackSpecificationDetails(Consumer<RackSpecificationDetails.Builder> existingRackSpecificationDetails) The existing rack specification details, if the specification type isUPDATED_RACKorEXISTING_RACK.existingRackSpecificationDetails(RackSpecificationDetails existingRackSpecificationDetails) The existing rack specification details, if the specification type isUPDATED_RACKorEXISTING_RACK.default QuoteSpecification.BuilderfinalRackSpecificationDetails(Consumer<RackSpecificationDetails.Builder> finalRackSpecificationDetails) The final rack specification details after the quote is fulfilled.finalRackSpecificationDetails(RackSpecificationDetails finalRackSpecificationDetails) The final rack specification details after the quote is fulfilled.quoteSpecificationType(String quoteSpecificationType) The type of specification.quoteSpecificationType(QuoteSpecificationType quoteSpecificationType) The type of specification.default QuoteSpecification.BuilderserverSpecificationDetails(Consumer<ServerSpecificationDetails.Builder> serverSpecificationDetails) The server specification details, if the specification type isSERVER.serverSpecificationDetails(ServerSpecificationDetails serverSpecificationDetails) The server specification details, if the specification type isSERVER.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
quoteSpecificationType
The type of specification. Valid values are
NEW_RACK,UPDATED_RACK,EXISTING_RACK, andSERVER.- Parameters:
quoteSpecificationType- The type of specification. Valid values areNEW_RACK,UPDATED_RACK,EXISTING_RACK, andSERVER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
quoteSpecificationType
The type of specification. Valid values are
NEW_RACK,UPDATED_RACK,EXISTING_RACK, andSERVER.- Parameters:
quoteSpecificationType- The type of specification. Valid values areNEW_RACK,UPDATED_RACK,EXISTING_RACK, andSERVER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
existingRackSpecificationDetails
QuoteSpecification.Builder existingRackSpecificationDetails(RackSpecificationDetails existingRackSpecificationDetails) The existing rack specification details, if the specification type is
UPDATED_RACKorEXISTING_RACK.- Parameters:
existingRackSpecificationDetails- The existing rack specification details, if the specification type isUPDATED_RACKorEXISTING_RACK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
existingRackSpecificationDetails
default QuoteSpecification.Builder existingRackSpecificationDetails(Consumer<RackSpecificationDetails.Builder> existingRackSpecificationDetails) The existing rack specification details, if the specification type is
This is a convenience method that creates an instance of theUPDATED_RACKorEXISTING_RACK.RackSpecificationDetails.Builderavoiding the need to create one manually viaRackSpecificationDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexistingRackSpecificationDetails(RackSpecificationDetails).- Parameters:
existingRackSpecificationDetails- a consumer that will call methods onRackSpecificationDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
finalRackSpecificationDetails
QuoteSpecification.Builder finalRackSpecificationDetails(RackSpecificationDetails finalRackSpecificationDetails) The final rack specification details after the quote is fulfilled.
- Parameters:
finalRackSpecificationDetails- The final rack specification details after the quote is fulfilled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalRackSpecificationDetails
default QuoteSpecification.Builder finalRackSpecificationDetails(Consumer<RackSpecificationDetails.Builder> finalRackSpecificationDetails) The final rack specification details after the quote is fulfilled.
This is a convenience method that creates an instance of theRackSpecificationDetails.Builderavoiding the need to create one manually viaRackSpecificationDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofinalRackSpecificationDetails(RackSpecificationDetails).- Parameters:
finalRackSpecificationDetails- a consumer that will call methods onRackSpecificationDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverSpecificationDetails
QuoteSpecification.Builder serverSpecificationDetails(ServerSpecificationDetails serverSpecificationDetails) The server specification details, if the specification type is
SERVER.- Parameters:
serverSpecificationDetails- The server specification details, if the specification type isSERVER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSpecificationDetails
default QuoteSpecification.Builder serverSpecificationDetails(Consumer<ServerSpecificationDetails.Builder> serverSpecificationDetails) The server specification details, if the specification type is
This is a convenience method that creates an instance of theSERVER.ServerSpecificationDetails.Builderavoiding the need to create one manually viaServerSpecificationDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverSpecificationDetails(ServerSpecificationDetails).- Parameters:
serverSpecificationDetails- a consumer that will call methods onServerSpecificationDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-