@Generated(value="software.amazon.awssdk:codegen") public final class DescribeJobTemplateResponse extends IotResponse implements ToCopyableBuilder<DescribeJobTemplateResponse.Builder,DescribeJobTemplateResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeJobTemplateResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
AbortConfig |
abortConfig()
Returns the value of the AbortConfig property for this object.
|
static DescribeJobTemplateResponse.Builder |
builder() |
Instant |
createdAt()
The time, in seconds since the epoch, when the job template was created.
|
String |
description()
A description of the job template.
|
List<String> |
destinationPackageVersions()
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully
completes.
|
String |
document()
The job document.
|
String |
documentSource()
An S3 link to the job document.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDestinationPackageVersions()
For responses, this returns true if the service returned a value for the DestinationPackageVersions property.
|
int |
hashCode() |
boolean |
hasMaintenanceWindows()
For responses, this returns true if the service returned a value for the MaintenanceWindows property.
|
JobExecutionsRetryConfig |
jobExecutionsRetryConfig()
The configuration that determines how many retries are allowed for each failure type for a job.
|
JobExecutionsRolloutConfig |
jobExecutionsRolloutConfig()
Returns the value of the JobExecutionsRolloutConfig property for this object.
|
String |
jobTemplateArn()
The ARN of the job template.
|
String |
jobTemplateId()
The unique identifier of the job template.
|
List<MaintenanceWindow> |
maintenanceWindows()
Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the
target group for a job.
|
PresignedUrlConfig |
presignedUrlConfig()
Returns the value of the PresignedUrlConfig property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeJobTemplateResponse.Builder> |
serializableBuilderClass() |
TimeoutConfig |
timeoutConfig()
Returns the value of the TimeoutConfig property for this object.
|
DescribeJobTemplateResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String jobTemplateArn()
The ARN of the job template.
public final String jobTemplateId()
The unique identifier of the job template.
public final String description()
A description of the job template.
public final String documentSource()
An S3 link to the job document.
public final String document()
The job document.
public final Instant createdAt()
The time, in seconds since the epoch, when the job template was created.
public final PresignedUrlConfig presignedUrlConfig()
public final JobExecutionsRolloutConfig jobExecutionsRolloutConfig()
public final AbortConfig abortConfig()
public final TimeoutConfig timeoutConfig()
public final JobExecutionsRetryConfig jobExecutionsRetryConfig()
The configuration that determines how many retries are allowed for each failure type for a job.
public final boolean hasMaintenanceWindows()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<MaintenanceWindow> maintenanceWindows()
Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMaintenanceWindows() method.
public final boolean hasDestinationPackageVersions()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> destinationPackageVersions()
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDestinationPackageVersions() method.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
public DescribeJobTemplateResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeJobTemplateResponse.Builder,DescribeJobTemplateResponse>toBuilder in class AwsResponsepublic static DescribeJobTemplateResponse.Builder builder()
public static Class<? extends DescribeJobTemplateResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.