Interface DeviceInstance.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeviceInstance.Builder,DeviceInstance>,SdkBuilder<DeviceInstance.Builder,DeviceInstance>,SdkPojo
- Enclosing class:
- DeviceInstance
public static interface DeviceInstance.Builder extends SdkPojo, CopyableBuilder<DeviceInstance.Builder,DeviceInstance>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DeviceInstance.Builderarn(String arn)The Amazon Resource Name (ARN) of the device instance.DeviceInstance.BuilderdeviceArn(String deviceArn)The ARN of the device.default DeviceInstance.BuilderinstanceProfile(Consumer<InstanceProfile.Builder> instanceProfile)A object that contains information about the instance profile.DeviceInstance.BuilderinstanceProfile(InstanceProfile instanceProfile)A object that contains information about the instance profile.DeviceInstance.Builderlabels(String... labels)An array of strings that describe the device instance.DeviceInstance.Builderlabels(Collection<String> labels)An array of strings that describe the device instance.DeviceInstance.Builderstatus(String status)The status of the device instance.DeviceInstance.Builderstatus(InstanceStatus status)The status of the device instance.DeviceInstance.Builderudid(String udid)Unique device identifier for the device instance.-
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
-
arn
DeviceInstance.Builder arn(String arn)
The Amazon Resource Name (ARN) of the device instance.
- Parameters:
arn- The Amazon Resource Name (ARN) of the device instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceArn
DeviceInstance.Builder deviceArn(String deviceArn)
The ARN of the device.
- Parameters:
deviceArn- The ARN of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
DeviceInstance.Builder labels(Collection<String> labels)
An array of strings that describe the device instance.
- Parameters:
labels- An array of strings that describe the device instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
DeviceInstance.Builder labels(String... labels)
An array of strings that describe the device instance.
- Parameters:
labels- An array of strings that describe the device instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DeviceInstance.Builder status(String status)
The status of the device instance. Valid values are listed here.
- Parameters:
status- The status of the device instance. Valid values are listed here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceStatus,InstanceStatus
-
status
DeviceInstance.Builder status(InstanceStatus status)
The status of the device instance. Valid values are listed here.
- Parameters:
status- The status of the device instance. Valid values are listed here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceStatus,InstanceStatus
-
udid
DeviceInstance.Builder udid(String udid)
Unique device identifier for the device instance.
- Parameters:
udid- Unique device identifier for the device instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProfile
DeviceInstance.Builder instanceProfile(InstanceProfile instanceProfile)
A object that contains information about the instance profile.
- Parameters:
instanceProfile- A object that contains information about the instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProfile
default DeviceInstance.Builder instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile)
A object that contains information about the instance profile.
This is a convenience method that creates an instance of theInstanceProfile.Builderavoiding the need to create one manually viaInstanceProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceProfile(InstanceProfile).- Parameters:
instanceProfile- a consumer that will call methods onInstanceProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
instanceProfile(InstanceProfile)
-
-