Interface GetDevicesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDevicesResponse.Builder,GetDevicesResponse>,NetworkManagerResponse.Builder,SdkBuilder<GetDevicesResponse.Builder,GetDevicesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDevicesResponse
public static interface GetDevicesResponse.Builder extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetDevicesResponse.Builder,GetDevicesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDevicesResponse.Builderdevices(Collection<Device> devices)The devices.GetDevicesResponse.Builderdevices(Consumer<Device.Builder>... devices)The devices.GetDevicesResponse.Builderdevices(Device... devices)The devices.GetDevicesResponse.BuildernextToken(String nextToken)The token for the next page of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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
-
devices
GetDevicesResponse.Builder devices(Collection<Device> devices)
The devices.
- Parameters:
devices- The devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
GetDevicesResponse.Builder devices(Device... devices)
The devices.
- Parameters:
devices- The devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
GetDevicesResponse.Builder devices(Consumer<Device.Builder>... devices)
The 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 to#devices(List.) - 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:
#devices(java.util.Collection)
-
nextToken
GetDevicesResponse.Builder nextToken(String nextToken)
The token for the next page of results.
- Parameters:
nextToken- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-