Class DeviceJob
- java.lang.Object
-
- software.amazon.awssdk.services.panorama.model.DeviceJob
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeviceJob.Builder,DeviceJob>
@Generated("software.amazon.awssdk:codegen") public final class DeviceJob extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeviceJob.Builder,DeviceJob>
A job that runs on a device.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeviceJob.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceJob.Builderbuilder()InstantcreatedTime()When the job was created.StringdeviceId()The ID of the target device.StringdeviceName()The name of the target devicebooleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobId()The job's ID.JobTypejobType()The job's type.StringjobTypeAsString()The job's type.List<SdkField<?>>sdkFields()static Class<? extends DeviceJob.Builder>serializableBuilderClass()DeviceJob.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
createdTime
public final Instant createdTime()
When the job was created.
- Returns:
- When the job was created.
-
deviceId
public final String deviceId()
The ID of the target device.
- Returns:
- The ID of the target device.
-
deviceName
public final String deviceName()
The name of the target device
- Returns:
- The name of the target device
-
jobId
public final String jobId()
The job's ID.
- Returns:
- The job's ID.
-
jobType
public final JobType jobType()
The job's type.
If the service returns an enum value that is not available in the current SDK version,
jobTypewill returnJobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobTypeAsString().- Returns:
- The job's type.
- See Also:
JobType
-
jobTypeAsString
public final String jobTypeAsString()
The job's type.
If the service returns an enum value that is not available in the current SDK version,
jobTypewill returnJobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobTypeAsString().- Returns:
- The job's type.
- See Also:
JobType
-
toBuilder
public DeviceJob.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeviceJob.Builder,DeviceJob>
-
builder
public static DeviceJob.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeviceJob.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-