Interface ListOfferingsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOfferingsResponse.Builder,ListOfferingsResponse>,DeviceFarmResponse.Builder,SdkBuilder<ListOfferingsResponse.Builder,ListOfferingsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListOfferingsResponse
public static interface ListOfferingsResponse.Builder extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListOfferingsResponse.Builder,ListOfferingsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListOfferingsResponse.BuildernextToken(String nextToken)An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.ListOfferingsResponse.Builderofferings(Collection<Offering> offerings)A value that represents the list offering results.ListOfferingsResponse.Builderofferings(Consumer<Offering.Builder>... offerings)A value that represents the list offering results.ListOfferingsResponse.Builderofferings(Offering... offerings)A value that represents the list offering results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
offerings
ListOfferingsResponse.Builder offerings(Collection<Offering> offerings)
A value that represents the list offering results.
- Parameters:
offerings- A value that represents the list offering results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offerings
ListOfferingsResponse.Builder offerings(Offering... offerings)
A value that represents the list offering results.
- Parameters:
offerings- A value that represents the list offering results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offerings
ListOfferingsResponse.Builder offerings(Consumer<Offering.Builder>... offerings)
A value that represents the list offering results.
This is a convenience method that creates an instance of theOffering.Builderavoiding the need to create one manually viaOffering.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#offerings(List.) - Parameters:
offerings- a consumer that will call methods onOffering.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#offerings(java.util.Collection)
-
nextToken
ListOfferingsResponse.Builder nextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
nextToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-