public class TaskTemplateMetadata
extends java.lang.Object
implements java.io.Serializable
Contains summary information about the task template.
| Constructor and Description |
|---|
TaskTemplateMetadata() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) of the task template.
|
java.util.Date |
getCreatedTime()
The timestamp when the task template was created.
|
java.lang.String |
getDescription()
The description of the task template.
|
java.lang.String |
getId()
A unique identifier for the task template.
|
java.util.Date |
getLastModifiedTime()
The timestamp when the task template was last modified.
|
java.lang.String |
getName()
The name of the task template.
|
java.lang.String |
getStatus()
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the task template.
|
void |
setCreatedTime(java.util.Date createdTime)
The timestamp when the task template was created.
|
void |
setDescription(java.lang.String description)
The description of the task template.
|
void |
setId(java.lang.String id)
A unique identifier for the task template.
|
void |
setLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp when the task template was last modified.
|
void |
setName(java.lang.String name)
The name of the task template.
|
void |
setStatus(java.lang.String status)
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
void |
setStatus(TaskTemplateStatus status)
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TaskTemplateMetadata |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the task template.
|
TaskTemplateMetadata |
withCreatedTime(java.util.Date createdTime)
The timestamp when the task template was created.
|
TaskTemplateMetadata |
withDescription(java.lang.String description)
The description of the task template.
|
TaskTemplateMetadata |
withId(java.lang.String id)
A unique identifier for the task template.
|
TaskTemplateMetadata |
withLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp when the task template was last modified.
|
TaskTemplateMetadata |
withName(java.lang.String name)
The name of the task template.
|
TaskTemplateMetadata |
withStatus(java.lang.String status)
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
TaskTemplateMetadata |
withStatus(TaskTemplateStatus status)
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
public java.lang.String getId()
A unique identifier for the task template.
Constraints:
Length: 1 - 500
A unique identifier for the task template.
public void setId(java.lang.String id)
A unique identifier for the task template.
Constraints:
Length: 1 - 500
id - A unique identifier for the task template.
public TaskTemplateMetadata withId(java.lang.String id)
A unique identifier for the task template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 500
id - A unique identifier for the task template.
public java.lang.String getArn()
The Amazon Resource Name (ARN) of the task template.
Constraints:
Length: 1 - 500
The Amazon Resource Name (ARN) of the task template.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the task template.
Constraints:
Length: 1 - 500
arn - The Amazon Resource Name (ARN) of the task template.
public TaskTemplateMetadata withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the task template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 500
arn - The Amazon Resource Name (ARN) of the task template.
public java.lang.String getName()
The name of the task template.
Constraints:
Length: 1 - 100
The name of the task template.
public void setName(java.lang.String name)
The name of the task template.
Constraints:
Length: 1 - 100
name - The name of the task template.
public TaskTemplateMetadata withName(java.lang.String name)
The name of the task template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
name - The name of the task template.
public java.lang.String getDescription()
The description of the task template.
Constraints:
Length: 1 - 255
The description of the task template.
public void setDescription(java.lang.String description)
The description of the task template.
Constraints:
Length: 1 - 255
description - The description of the task template.
public TaskTemplateMetadata withDescription(java.lang.String description)
The description of the task template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
description - The description of the task template.
public java.lang.String getStatus()
Marks a template as ACTIVE or INACTIVE for a
task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE, then a task
that refers to this template cannot be created.
Constraints:
Allowed Values: ACTIVE, INACTIVE
Marks a template as ACTIVE or INACTIVE
for a task to refer to it. Tasks can only be created from
ACTIVE templates. If a template is marked as
INACTIVE, then a task that refers to this template
cannot be created.
TaskTemplateStatuspublic void setStatus(java.lang.String status)
Marks a template as ACTIVE or INACTIVE for a
task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE, then a task
that refers to this template cannot be created.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status -
Marks a template as ACTIVE or
INACTIVE for a task to refer to it. Tasks can
only be created from ACTIVE templates. If a
template is marked as INACTIVE, then a task that
refers to this template cannot be created.
TaskTemplateStatuspublic TaskTemplateMetadata withStatus(java.lang.String status)
Marks a template as ACTIVE or INACTIVE for a
task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE, then a task
that refers to this template cannot be created.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status -
Marks a template as ACTIVE or
INACTIVE for a task to refer to it. Tasks can
only be created from ACTIVE templates. If a
template is marked as INACTIVE, then a task that
refers to this template cannot be created.
TaskTemplateStatuspublic void setStatus(TaskTemplateStatus status)
Marks a template as ACTIVE or INACTIVE for a
task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE, then a task
that refers to this template cannot be created.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status -
Marks a template as ACTIVE or
INACTIVE for a task to refer to it. Tasks can
only be created from ACTIVE templates. If a
template is marked as INACTIVE, then a task that
refers to this template cannot be created.
TaskTemplateStatuspublic TaskTemplateMetadata withStatus(TaskTemplateStatus status)
Marks a template as ACTIVE or INACTIVE for a
task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE, then a task
that refers to this template cannot be created.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status -
Marks a template as ACTIVE or
INACTIVE for a task to refer to it. Tasks can
only be created from ACTIVE templates. If a
template is marked as INACTIVE, then a task that
refers to this template cannot be created.
TaskTemplateStatuspublic java.util.Date getLastModifiedTime()
The timestamp when the task template was last modified.
The timestamp when the task template was last modified.
public void setLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp when the task template was last modified.
lastModifiedTime - The timestamp when the task template was last modified.
public TaskTemplateMetadata withLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp when the task template was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedTime - The timestamp when the task template was last modified.
public java.util.Date getCreatedTime()
The timestamp when the task template was created.
The timestamp when the task template was created.
public void setCreatedTime(java.util.Date createdTime)
The timestamp when the task template was created.
createdTime - The timestamp when the task template was created.
public TaskTemplateMetadata withCreatedTime(java.util.Date createdTime)
The timestamp when the task template was created.
Returns a reference to this object so that method calls can be chained together.
createdTime - The timestamp when the task template was created.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object