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
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the device instance.The ARN of the device.default DeviceInstance.BuilderinstanceProfile(Consumer<InstanceProfile.Builder> instanceProfile) A object that contains information about the instance profile.instanceProfile(InstanceProfile instanceProfile) A object that contains information about the instance profile.An array of strings that describe the device instance.labels(Collection<String> labels) An array of strings that describe the device instance.The status of the device instance.status(InstanceStatus status) The status of the device instance.Unique device identifier for the device instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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:
-
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:
-
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
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
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:
-