Interface ListQuotesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListQuotesResponse.Builder,,ListQuotesResponse> OutpostsResponse.Builder,SdkBuilder<ListQuotesResponse.Builder,,ListQuotesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListQuotesResponse
@Mutable
@NotThreadSafe
public static interface ListQuotesResponse.Builder
extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<ListQuotesResponse.Builder,ListQuotesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token.quotes(Collection<QuoteSummary> quotes) Information about the quotes.quotes(Consumer<QuoteSummary.Builder>... quotes) Information about the quotes.quotes(QuoteSummary... quotes) Information about the quotes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
quotes
Information about the quotes.
- Parameters:
quotes- Information about the quotes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quotes
Information about the quotes.
- Parameters:
quotes- Information about the quotes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quotes
Information about the quotes.
This is a convenience method that creates an instance of theQuoteSummary.Builderavoiding the need to create one manually viaQuoteSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toquotes(List<QuoteSummary>).- Parameters:
quotes- a consumer that will call methods onQuoteSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token.
- Parameters:
nextToken- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-