public static interface Device.Builder extends SdkPojo, CopyableBuilder<Device.Builder,Device>
| Modifier and Type | Method and Description |
|---|---|
Device.Builder |
awsLocation(AWSLocation awsLocation)
The Amazon Web Services location of the device.
|
default Device.Builder |
awsLocation(Consumer<AWSLocation.Builder> awsLocation)
The Amazon Web Services location of the device.
|
Device.Builder |
createdAt(Instant createdAt)
The date and time that the site was created.
|
Device.Builder |
description(String description)
The description of the device.
|
Device.Builder |
deviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device.
|
Device.Builder |
deviceId(String deviceId)
The ID of the device.
|
Device.Builder |
globalNetworkId(String globalNetworkId)
The ID of the global network.
|
default Device.Builder |
location(Consumer<Location.Builder> location)
The site location.
|
Device.Builder |
location(Location location)
The site location.
|
Device.Builder |
model(String model)
The device model.
|
Device.Builder |
serialNumber(String serialNumber)
The device serial number.
|
Device.Builder |
siteId(String siteId)
The site ID.
|
Device.Builder |
state(DeviceState state)
The device state.
|
Device.Builder |
state(String state)
The device state.
|
Device.Builder |
tags(Collection<Tag> tags)
The tags for the device.
|
Device.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags for the device.
|
Device.Builder |
tags(Tag... tags)
The tags for the device.
|
Device.Builder |
type(String type)
The device type.
|
Device.Builder |
vendor(String vendor)
The device vendor.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDevice.Builder deviceId(String deviceId)
The ID of the device.
deviceId - The ID of the device.Device.Builder deviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device.
deviceArn - The Amazon Resource Name (ARN) of the device.Device.Builder globalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId - The ID of the global network.Device.Builder awsLocation(AWSLocation awsLocation)
The Amazon Web Services location of the device.
awsLocation - The Amazon Web Services location of the device.default Device.Builder awsLocation(Consumer<AWSLocation.Builder> awsLocation)
The Amazon Web Services location of the device.
This is a convenience method that creates an instance of theAWSLocation.Builder avoiding the need to
create one manually via AWSLocation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to awsLocation(AWSLocation).
awsLocation - a consumer that will call methods on AWSLocation.BuilderawsLocation(AWSLocation)Device.Builder description(String description)
The description of the device.
description - The description of the device.Device.Builder type(String type)
The device type.
type - The device type.Device.Builder vendor(String vendor)
The device vendor.
vendor - The device vendor.Device.Builder model(String model)
The device model.
model - The device model.Device.Builder serialNumber(String serialNumber)
The device serial number.
serialNumber - The device serial number.Device.Builder location(Location location)
The site location.
location - The site location.default Device.Builder location(Consumer<Location.Builder> location)
The site location.
This is a convenience method that creates an instance of theLocation.Builder avoiding the need to
create one manually via Location.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to location(Location).
location - a consumer that will call methods on Location.Builderlocation(Location)Device.Builder siteId(String siteId)
The site ID.
siteId - The site ID.Device.Builder createdAt(Instant createdAt)
The date and time that the site was created.
createdAt - The date and time that the site was created.Device.Builder state(String state)
The device state.
state - The device state.DeviceState,
DeviceStateDevice.Builder state(DeviceState state)
The device state.
state - The device state.DeviceState,
DeviceStateDevice.Builder tags(Collection<Tag> tags)
The tags for the device.
tags - The tags for the device.Device.Builder tags(Tag... tags)
The tags for the device.
tags - The tags for the device.Device.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the device.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) Copyright © 2022. All rights reserved.