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
Modifier and TypeMethodDescriptionAn 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.offerings(Collection<Offering> offerings) A value that represents the list offering results.offerings(Consumer<Offering.Builder>... offerings) A value that represents the list offering results.A value that represents the list offering results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
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
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
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 toofferings(List<Offering>).- 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:
-
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.
-