@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobTemplate extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
JobTemplate() |
Modifier and Type | Method and Description |
---|---|
JobTemplate |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
An identifier for this resource that is unique within all of AWS.
|
String |
getCategory()
An optional category you create to organize your job templates.
|
Date |
getCreatedAt()
The timestamp in epoch seconds for Job template creation.
|
String |
getDescription()
An optional description you create for each job template.
|
Date |
getLastUpdated()
The timestamp in epoch seconds when the Job template was last updated.
|
String |
getName()
A name you create for each job template.
|
String |
getQueue()
Optional.
|
JobTemplateSettings |
getSettings() |
String |
getType()
A job template can be of two types: system or custom.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
An identifier for this resource that is unique within all of AWS.
|
void |
setCategory(String category)
An optional category you create to organize your job templates.
|
void |
setCreatedAt(Date createdAt)
The timestamp in epoch seconds for Job template creation.
|
void |
setDescription(String description)
An optional description you create for each job template.
|
void |
setLastUpdated(Date lastUpdated)
The timestamp in epoch seconds when the Job template was last updated.
|
void |
setName(String name)
A name you create for each job template.
|
void |
setQueue(String queue)
Optional.
|
void |
setSettings(JobTemplateSettings settings) |
void |
setType(String type)
A job template can be of two types: system or custom.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
JobTemplate |
withArn(String arn)
An identifier for this resource that is unique within all of AWS.
|
JobTemplate |
withCategory(String category)
An optional category you create to organize your job templates.
|
JobTemplate |
withCreatedAt(Date createdAt)
The timestamp in epoch seconds for Job template creation.
|
JobTemplate |
withDescription(String description)
An optional description you create for each job template.
|
JobTemplate |
withLastUpdated(Date lastUpdated)
The timestamp in epoch seconds when the Job template was last updated.
|
JobTemplate |
withName(String name)
A name you create for each job template.
|
JobTemplate |
withQueue(String queue)
Optional.
|
JobTemplate |
withSettings(JobTemplateSettings settings) |
JobTemplate |
withType(String type)
A job template can be of two types: system or custom.
|
JobTemplate |
withType(Type type)
A job template can be of two types: system or custom.
|
public void setArn(String arn)
arn
- An identifier for this resource that is unique within all of AWS.public String getArn()
public JobTemplate withArn(String arn)
arn
- An identifier for this resource that is unique within all of AWS.public void setCategory(String category)
category
- An optional category you create to organize your job templates.public String getCategory()
public JobTemplate withCategory(String category)
category
- An optional category you create to organize your job templates.public void setCreatedAt(Date createdAt)
createdAt
- The timestamp in epoch seconds for Job template creation.public Date getCreatedAt()
public JobTemplate withCreatedAt(Date createdAt)
createdAt
- The timestamp in epoch seconds for Job template creation.public void setDescription(String description)
description
- An optional description you create for each job template.public String getDescription()
public JobTemplate withDescription(String description)
description
- An optional description you create for each job template.public void setLastUpdated(Date lastUpdated)
lastUpdated
- The timestamp in epoch seconds when the Job template was last updated.public Date getLastUpdated()
public JobTemplate withLastUpdated(Date lastUpdated)
lastUpdated
- The timestamp in epoch seconds when the Job template was last updated.public void setName(String name)
name
- A name you create for each job template. Each name must be unique within your account.public String getName()
public JobTemplate withName(String name)
name
- A name you create for each job template. Each name must be unique within your account.public void setQueue(String queue)
queue
- Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs
will go to the default queue.public String getQueue()
public JobTemplate withQueue(String queue)
queue
- Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs
will go to the default queue.public void setSettings(JobTemplateSettings settings)
settings
- public JobTemplateSettings getSettings()
public JobTemplate withSettings(JobTemplateSettings settings)
settings
- public void setType(String type)
type
- A job template can be of two types: system or custom. System or built-in job templates can't be modified
or deleted by the user.Type
public String getType()
Type
public JobTemplate withType(String type)
type
- A job template can be of two types: system or custom. System or built-in job templates can't be modified
or deleted by the user.Type
public JobTemplate withType(Type type)
type
- A job template can be of two types: system or custom. System or built-in job templates can't be modified
or deleted by the user.Type
public String toString()
toString
in class Object
Object.toString()
public JobTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.