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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLongTermPricingResponse.BuilderlongTermPricingEntries(Collection<LongTermPricingListEntry> longTermPricingEntries)EachLongTermPricingEntryobject contains a status, ID, and other information about theLongTermPricingtype.ListLongTermPricingResponse.BuilderlongTermPricingEntries(Consumer<LongTermPricingListEntry.Builder>... longTermPricingEntries)EachLongTermPricingEntryobject contains a status, ID, and other information about theLongTermPricingtype.ListLongTermPricingResponse.BuilderlongTermPricingEntries(LongTermPricingListEntry... longTermPricingEntries)EachLongTermPricingEntryobject contains a status, ID, and other information about theLongTermPricingtype.ListLongTermPricingResponse.BuildernextToken(String nextToken)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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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 Detail
-
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 to#longTermPricingEntries(List.) - 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:
#longTermPricingEntries(java.util.Collection)
-
nextToken
ListLongTermPricingResponse.Builder nextToken(String 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.
-
-