Interface ListLongTermPricingResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLongTermPricingResponse.Builder,,ListLongTermPricingResponse> SdkBuilder<ListLongTermPricingResponse.Builder,,ListLongTermPricingResponse> SdkPojo,SdkResponse.Builder,SnowballResponse.Builder
- Enclosing class:
ListLongTermPricingResponse
public static interface ListLongTermPricingResponse.Builder
extends SnowballResponse.Builder, SdkPojo, CopyableBuilder<ListLongTermPricingResponse.Builder,ListLongTermPricingResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlongTermPricingEntries(Collection<LongTermPricingListEntry> longTermPricingEntries) EachLongTermPricingEntryobject contains a status, ID, and other information about theLongTermPricingtype.longTermPricingEntries(Consumer<LongTermPricingListEntry.Builder>... longTermPricingEntries) EachLongTermPricingEntryobject contains a status, ID, and other information about theLongTermPricingtype.longTermPricingEntries(LongTermPricingListEntry... longTermPricingEntries) EachLongTermPricingEntryobject contains a status, ID, and other information about theLongTermPricingtype.Because HTTP requests are stateless, this is the starting point for your next list of returnedListLongTermPricinglist.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
longTermPricingEntries
ListLongTermPricingResponse.Builder longTermPricingEntries(Collection<LongTermPricingListEntry> longTermPricingEntries) Each
LongTermPricingEntryobject contains a status, ID, and other information about theLongTermPricingtype.- Parameters:
longTermPricingEntries- EachLongTermPricingEntryobject contains a status, ID, and other information about theLongTermPricingtype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
longTermPricingEntries
ListLongTermPricingResponse.Builder longTermPricingEntries(LongTermPricingListEntry... longTermPricingEntries) Each
LongTermPricingEntryobject contains a status, ID, and other information about theLongTermPricingtype.- Parameters:
longTermPricingEntries- EachLongTermPricingEntryobject contains a status, ID, and other information about theLongTermPricingtype.- 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 theLongTermPricingEntryobject contains a status, ID, and other information about theLongTermPricingtype.LongTermPricingListEntry.Builderavoiding the need to create one manually viaLongTermPricingListEntry.builder().When the
Consumercompletes,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
ListLongTermPricinglist.- Parameters:
nextToken- Because HTTP requests are stateless, this is the starting point for your next list of returnedListLongTermPricinglist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-