Interface Device.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Device.Builder,Device>,SdkBuilder<Device.Builder,Device>,SdkPojo
- Enclosing class:
- Device
public static interface Device.Builder extends SdkPojo, CopyableBuilder<Device.Builder,Device>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Device.BuilderawsLocation(Consumer<AWSLocation.Builder> awsLocation)The Amazon Web Services location of the device.Device.BuilderawsLocation(AWSLocation awsLocation)The Amazon Web Services location of the device.Device.BuildercreatedAt(Instant createdAt)The date and time that the site was created.Device.Builderdescription(String description)The description of the device.Device.BuilderdeviceArn(String deviceArn)The Amazon Resource Name (ARN) of the device.Device.BuilderdeviceId(String deviceId)The ID of the device.Device.BuilderglobalNetworkId(String globalNetworkId)The ID of the global network.default Device.Builderlocation(Consumer<Location.Builder> location)The site location.Device.Builderlocation(Location location)The site location.Device.Buildermodel(String model)The device model.Device.BuilderserialNumber(String serialNumber)The device serial number.Device.BuildersiteId(String siteId)The site ID.Device.Builderstate(String state)The device state.Device.Builderstate(DeviceState state)The device state.Device.Buildertags(Collection<Tag> tags)The tags for the device.Device.Buildertags(Consumer<Tag.Builder>... tags)The tags for the device.Device.Buildertags(Tag... tags)The tags for the device.Device.Buildertype(String type)The device type.Device.Buildervendor(String vendor)The device vendor.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
deviceId
Device.Builder deviceId(String deviceId)
The ID of the device.
- Parameters:
deviceId- The ID of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceArn
Device.Builder deviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device.
- Parameters:
deviceArn- The Amazon Resource Name (ARN) of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalNetworkId
Device.Builder globalNetworkId(String globalNetworkId)
The ID of the global network.
- Parameters:
globalNetworkId- The ID of the global network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsLocation
Device.Builder awsLocation(AWSLocation awsLocation)
The Amazon Web Services location of the device.
- Parameters:
awsLocation- The Amazon Web Services location of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsLocation
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.Builderavoiding the need to create one manually viaAWSLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsLocation(AWSLocation).- Parameters:
awsLocation- a consumer that will call methods onAWSLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
awsLocation(AWSLocation)
-
description
Device.Builder description(String description)
The description of the device.
- Parameters:
description- The description of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Device.Builder type(String type)
The device type.
- Parameters:
type- The device type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vendor
Device.Builder vendor(String vendor)
The device vendor.
- Parameters:
vendor- The device vendor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
model
Device.Builder model(String model)
The device model.
- Parameters:
model- The device model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serialNumber
Device.Builder serialNumber(String serialNumber)
The device serial number.
- Parameters:
serialNumber- The device serial number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
Device.Builder location(Location location)
The site location.
- Parameters:
location- The site location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
default Device.Builder location(Consumer<Location.Builder> location)
The site location.
This is a convenience method that creates an instance of theLocation.Builderavoiding the need to create one manually viaLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocation(Location).- Parameters:
location- a consumer that will call methods onLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
location(Location)
-
siteId
Device.Builder siteId(String siteId)
The site ID.
- Parameters:
siteId- The site ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Device.Builder createdAt(Instant createdAt)
The date and time that the site was created.
- Parameters:
createdAt- The date and time that the site was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Device.Builder state(String state)
The device state.
- Parameters:
state- The device state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceState,DeviceState
-
state
Device.Builder state(DeviceState state)
The device state.
- Parameters:
state- The device state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceState,DeviceState
-
tags
Device.Builder tags(Collection<Tag> tags)
The tags for the device.
- Parameters:
tags- The tags for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Device.Builder tags(Tag... tags)
The tags for the device.
- Parameters:
tags- The tags for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Device.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the device.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-