@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeJobTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeJobTemplateResult() |
Modifier and Type | Method and Description |
---|---|
DescribeJobTemplateResult |
clone() |
boolean |
equals(Object obj) |
AbortConfig |
getAbortConfig() |
Date |
getCreatedAt()
The time, in seconds since the epoch, when the job template was created.
|
String |
getDescription()
A description of the job template.
|
List<String> |
getDestinationPackageVersions()
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully
completes.
|
String |
getDocument()
The job document.
|
String |
getDocumentSource()
An S3 link to the job document.
|
JobExecutionsRetryConfig |
getJobExecutionsRetryConfig()
The configuration that determines how many retries are allowed for each failure type for a job.
|
JobExecutionsRolloutConfig |
getJobExecutionsRolloutConfig() |
String |
getJobTemplateArn()
The ARN of the job template.
|
String |
getJobTemplateId()
The unique identifier of the job template.
|
List<MaintenanceWindow> |
getMaintenanceWindows()
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 |
getPresignedUrlConfig() |
TimeoutConfig |
getTimeoutConfig() |
int |
hashCode() |
void |
setAbortConfig(AbortConfig abortConfig) |
void |
setCreatedAt(Date createdAt)
The time, in seconds since the epoch, when the job template was created.
|
void |
setDescription(String description)
A description of the job template.
|
void |
setDestinationPackageVersions(Collection<String> destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully
completes.
|
void |
setDocument(String document)
The job document.
|
void |
setDocumentSource(String documentSource)
An S3 link to the job document.
|
void |
setJobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
The configuration that determines how many retries are allowed for each failure type for a job.
|
void |
setJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig) |
void |
setJobTemplateArn(String jobTemplateArn)
The ARN of the job template.
|
void |
setJobTemplateId(String jobTemplateId)
The unique identifier of the job template.
|
void |
setMaintenanceWindows(Collection<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.
|
void |
setPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig) |
void |
setTimeoutConfig(TimeoutConfig timeoutConfig) |
String |
toString()
Returns a string representation of this object.
|
DescribeJobTemplateResult |
withAbortConfig(AbortConfig abortConfig) |
DescribeJobTemplateResult |
withCreatedAt(Date createdAt)
The time, in seconds since the epoch, when the job template was created.
|
DescribeJobTemplateResult |
withDescription(String description)
A description of the job template.
|
DescribeJobTemplateResult |
withDestinationPackageVersions(Collection<String> destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully
completes.
|
DescribeJobTemplateResult |
withDestinationPackageVersions(String... destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully
completes.
|
DescribeJobTemplateResult |
withDocument(String document)
The job document.
|
DescribeJobTemplateResult |
withDocumentSource(String documentSource)
An S3 link to the job document.
|
DescribeJobTemplateResult |
withJobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
The configuration that determines how many retries are allowed for each failure type for a job.
|
DescribeJobTemplateResult |
withJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig) |
DescribeJobTemplateResult |
withJobTemplateArn(String jobTemplateArn)
The ARN of the job template.
|
DescribeJobTemplateResult |
withJobTemplateId(String jobTemplateId)
The unique identifier of the job template.
|
DescribeJobTemplateResult |
withMaintenanceWindows(Collection<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.
|
DescribeJobTemplateResult |
withMaintenanceWindows(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.
|
DescribeJobTemplateResult |
withPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig) |
DescribeJobTemplateResult |
withTimeoutConfig(TimeoutConfig timeoutConfig) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setJobTemplateArn(String jobTemplateArn)
The ARN of the job template.
jobTemplateArn
- The ARN of the job template.public String getJobTemplateArn()
The ARN of the job template.
public DescribeJobTemplateResult withJobTemplateArn(String jobTemplateArn)
The ARN of the job template.
jobTemplateArn
- The ARN of the job template.public void setJobTemplateId(String jobTemplateId)
The unique identifier of the job template.
jobTemplateId
- The unique identifier of the job template.public String getJobTemplateId()
The unique identifier of the job template.
public DescribeJobTemplateResult withJobTemplateId(String jobTemplateId)
The unique identifier of the job template.
jobTemplateId
- The unique identifier of the job template.public void setDescription(String description)
A description of the job template.
description
- A description of the job template.public String getDescription()
A description of the job template.
public DescribeJobTemplateResult withDescription(String description)
A description of the job template.
description
- A description of the job template.public void setDocumentSource(String documentSource)
An S3 link to the job document.
documentSource
- An S3 link to the job document.public String getDocumentSource()
An S3 link to the job document.
public DescribeJobTemplateResult withDocumentSource(String documentSource)
An S3 link to the job document.
documentSource
- An S3 link to the job document.public void setDocument(String document)
The job document.
document
- The job document.public String getDocument()
The job document.
public DescribeJobTemplateResult withDocument(String document)
The job document.
document
- The job document.public void setCreatedAt(Date createdAt)
The time, in seconds since the epoch, when the job template was created.
createdAt
- The time, in seconds since the epoch, when the job template was created.public Date getCreatedAt()
The time, in seconds since the epoch, when the job template was created.
public DescribeJobTemplateResult withCreatedAt(Date createdAt)
The time, in seconds since the epoch, when the job template was created.
createdAt
- The time, in seconds since the epoch, when the job template was created.public void setPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
presignedUrlConfig
- public PresignedUrlConfig getPresignedUrlConfig()
public DescribeJobTemplateResult withPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
presignedUrlConfig
- public void setJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
jobExecutionsRolloutConfig
- public JobExecutionsRolloutConfig getJobExecutionsRolloutConfig()
public DescribeJobTemplateResult withJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
jobExecutionsRolloutConfig
- public void setAbortConfig(AbortConfig abortConfig)
abortConfig
- public AbortConfig getAbortConfig()
public DescribeJobTemplateResult withAbortConfig(AbortConfig abortConfig)
abortConfig
- public void setTimeoutConfig(TimeoutConfig timeoutConfig)
timeoutConfig
- public TimeoutConfig getTimeoutConfig()
public DescribeJobTemplateResult withTimeoutConfig(TimeoutConfig timeoutConfig)
timeoutConfig
- public void setJobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
The configuration that determines how many retries are allowed for each failure type for a job.
jobExecutionsRetryConfig
- The configuration that determines how many retries are allowed for each failure type for a job.public JobExecutionsRetryConfig getJobExecutionsRetryConfig()
The configuration that determines how many retries are allowed for each failure type for a job.
public DescribeJobTemplateResult withJobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
The configuration that determines how many retries are allowed for each failure type for a job.
jobExecutionsRetryConfig
- The configuration that determines how many retries are allowed for each failure type for a job.public List<MaintenanceWindow> getMaintenanceWindows()
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.
public void setMaintenanceWindows(Collection<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.
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.public DescribeJobTemplateResult withMaintenanceWindows(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.
NOTE: This method appends the values to the existing list (if any). Use
setMaintenanceWindows(java.util.Collection)
or withMaintenanceWindows(java.util.Collection)
if
you want to override the existing values.
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.public DescribeJobTemplateResult withMaintenanceWindows(Collection<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.
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.public List<String> getDestinationPackageVersions()
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see Package version lifecycle.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
public void setDestinationPackageVersions(Collection<String> destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see Package version lifecycle.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
destinationPackageVersions
- The package version Amazon Resource Names (ARNs) that are installed on the device when the job
successfully completes. The package version must be in either the Published or Deprecated state when the
job deploys. For more information, see Package version lifecycle.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
public DescribeJobTemplateResult withDestinationPackageVersions(String... destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see Package version lifecycle.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
NOTE: This method appends the values to the existing list (if any). Use
setDestinationPackageVersions(java.util.Collection)
or
withDestinationPackageVersions(java.util.Collection)
if you want to override the existing values.
destinationPackageVersions
- The package version Amazon Resource Names (ARNs) that are installed on the device when the job
successfully completes. The package version must be in either the Published or Deprecated state when the
job deploys. For more information, see Package version lifecycle.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
public DescribeJobTemplateResult withDestinationPackageVersions(Collection<String> destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see Package version lifecycle.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
destinationPackageVersions
- The package version Amazon Resource Names (ARNs) that are installed on the device when the job
successfully completes. The package version must be in either the Published or Deprecated state when the
job deploys. For more information, see Package version lifecycle.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
public String toString()
toString
in class Object
Object.toString()
public DescribeJobTemplateResult clone()