Class DescribeDeviceJobResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.panorama.model.PanoramaResponse
-
- software.amazon.awssdk.services.panorama.model.DescribeDeviceJobResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeDeviceJobResponse.Builder,DescribeDeviceJobResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeDeviceJobResponse extends PanoramaResponse implements ToCopyableBuilder<DescribeDeviceJobResponse.Builder,DescribeDeviceJobResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeDeviceJobResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeDeviceJobResponse.Builderbuilder()InstantcreatedTime()When the job was created.StringdeviceArn()The device's ARN.StringdeviceId()The device's ID.StringdeviceName()The device's name.DeviceTypedeviceType()The device's type.StringdeviceTypeAsString()The device's type.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimageVersion()For an OTA job, the target version of the device software.StringjobId()The job's ID.JobTypejobType()The job's type.StringjobTypeAsString()The job's type.List<SdkField<?>>sdkFields()static Class<? extends DescribeDeviceJobResponse.Builder>serializableBuilderClass()UpdateProgressstatus()The job's status.StringstatusAsString()The job's status.DescribeDeviceJobResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.panorama.model.PanoramaResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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.
-
deviceArn
public final String deviceArn()
The device's ARN.
- Returns:
- The device's ARN.
-
deviceId
public final String deviceId()
The device's ID.
- Returns:
- The device's ID.
-
deviceName
public final String deviceName()
The device's name.
- Returns:
- The device's name.
-
deviceType
public final DeviceType deviceType()
The device's type.
If the service returns an enum value that is not available in the current SDK version,
deviceTypewill returnDeviceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeviceTypeAsString().- Returns:
- The device's type.
- See Also:
DeviceType
-
deviceTypeAsString
public final String deviceTypeAsString()
The device's type.
If the service returns an enum value that is not available in the current SDK version,
deviceTypewill returnDeviceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeviceTypeAsString().- Returns:
- The device's type.
- See Also:
DeviceType
-
imageVersion
public final String imageVersion()
For an OTA job, the target version of the device software.
- Returns:
- For an OTA job, the target version of the device software.
-
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
-
status
public final UpdateProgress status()
The job's status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnUpdateProgress.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The job's status.
- See Also:
UpdateProgress
-
statusAsString
public final String statusAsString()
The job's status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnUpdateProgress.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The job's status.
- See Also:
UpdateProgress
-
toBuilder
public DescribeDeviceJobResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeDeviceJobResponse.Builder,DescribeDeviceJobResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeDeviceJobResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeDeviceJobResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-