Interface ListDevicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDevicesResponse.Builder,,ListDevicesResponse> PanoramaResponse.Builder,SdkBuilder<ListDevicesResponse.Builder,,ListDevicesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDevicesResponse
public static interface ListDevicesResponse.Builder
extends PanoramaResponse.Builder, SdkPojo, CopyableBuilder<ListDevicesResponse.Builder,ListDevicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondevices(Collection<Device> devices) A list of devices.devices(Consumer<Device.Builder>... devices) A list of devices.A list of devices.A pagination token that's included if more results are available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.panorama.model.PanoramaResponse.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
-
devices
A list of devices.
- Parameters:
devices- A list of devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
A list of devices.
- Parameters:
devices- A list of devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
A list of devices.
This is a convenience method that creates an instance of theDevice.Builderavoiding the need to create one manually viaDevice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todevices(List<Device>).- Parameters:
devices- a consumer that will call methods onDevice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token that's included if more results are available.
- Parameters:
nextToken- A pagination token that's included if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-