Interface ListLongTermPricingResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListLongTermPricingResponse.Builder,
,ListLongTermPricingResponse> SdkBuilder<ListLongTermPricingResponse.Builder,
,ListLongTermPricingResponse> SdkPojo
,SdkResponse.Builder
,SnowballResponse.Builder
- Enclosing class:
ListLongTermPricingResponse
@Mutable
@NotThreadSafe
public static interface ListLongTermPricingResponse.Builder
extends SnowballResponse.Builder, SdkPojo, CopyableBuilder<ListLongTermPricingResponse.Builder,ListLongTermPricingResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlongTermPricingEntries
(Collection<LongTermPricingListEntry> longTermPricingEntries) EachLongTermPricingEntry
object contains a status, ID, and other information about theLongTermPricing
type.longTermPricingEntries
(Consumer<LongTermPricingListEntry.Builder>... longTermPricingEntries) EachLongTermPricingEntry
object contains a status, ID, and other information about theLongTermPricing
type.longTermPricingEntries
(LongTermPricingListEntry... longTermPricingEntries) EachLongTermPricingEntry
object contains a status, ID, and other information about theLongTermPricing
type.Because HTTP requests are stateless, this is the starting point for your next list of returnedListLongTermPricing
list.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
longTermPricingEntries
ListLongTermPricingResponse.Builder longTermPricingEntries(Collection<LongTermPricingListEntry> longTermPricingEntries) Each
LongTermPricingEntry
object contains a status, ID, and other information about theLongTermPricing
type.- Parameters:
longTermPricingEntries
- EachLongTermPricingEntry
object contains a status, ID, and other information about theLongTermPricing
type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
longTermPricingEntries
ListLongTermPricingResponse.Builder longTermPricingEntries(LongTermPricingListEntry... longTermPricingEntries) Each
LongTermPricingEntry
object contains a status, ID, and other information about theLongTermPricing
type.- Parameters:
longTermPricingEntries
- EachLongTermPricingEntry
object contains a status, ID, and other information about theLongTermPricing
type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
longTermPricingEntries
ListLongTermPricingResponse.Builder longTermPricingEntries(Consumer<LongTermPricingListEntry.Builder>... longTermPricingEntries) Each
This is a convenience method that creates an instance of theLongTermPricingEntry
object contains a status, ID, and other information about theLongTermPricing
type.LongTermPricingListEntry.Builder
avoiding the need to create one manually viaLongTermPricingListEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolongTermPricingEntries(List<LongTermPricingListEntry>)
.- Parameters:
longTermPricingEntries
- a consumer that will call methods onLongTermPricingListEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Because HTTP requests are stateless, this is the starting point for your next list of returned
ListLongTermPricing
list.- Parameters:
nextToken
- Because HTTP requests are stateless, this is the starting point for your next list of returnedListLongTermPricing
list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-