@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetTemplateResult() |
Modifier and Type | Method and Description |
---|---|
GetTemplateResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetTemplateResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetTemplateResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTime()
Timestamp at which the resource was created.
|
Boolean |
getDeleted()
Denotes whether or not the resource has been deleted.
|
String |
getDescription()
A brief description of the template.
|
Date |
getLastModifiedTime()
Timestamp at which the resource was created or last modified.
|
LayoutConfiguration |
getLayoutConfiguration()
Configuration of layouts associated to the template.
|
String |
getName()
The name of the template.
|
List<RequiredField> |
getRequiredFields()
A list of fields that must contain a value for a case to be successfully created with this template.
|
String |
getStatus()
The status of the template.
|
Map<String,String> |
getTags()
A map of of key-value pairs that represent tags on a resource.
|
String |
getTemplateArn()
The Amazon Resource Name (ARN) of the template.
|
String |
getTemplateId()
A unique identifier of a template.
|
int |
hashCode() |
Boolean |
isDeleted()
Denotes whether or not the resource has been deleted.
|
void |
setCreatedTime(Date createdTime)
Timestamp at which the resource was created.
|
void |
setDeleted(Boolean deleted)
Denotes whether or not the resource has been deleted.
|
void |
setDescription(String description)
A brief description of the template.
|
void |
setLastModifiedTime(Date lastModifiedTime)
Timestamp at which the resource was created or last modified.
|
void |
setLayoutConfiguration(LayoutConfiguration layoutConfiguration)
Configuration of layouts associated to the template.
|
void |
setName(String name)
The name of the template.
|
void |
setRequiredFields(Collection<RequiredField> requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
|
void |
setStatus(String status)
The status of the template.
|
void |
setTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource.
|
void |
setTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
|
void |
setTemplateId(String templateId)
A unique identifier of a template.
|
String |
toString()
Returns a string representation of this object.
|
GetTemplateResult |
withCreatedTime(Date createdTime)
Timestamp at which the resource was created.
|
GetTemplateResult |
withDeleted(Boolean deleted)
Denotes whether or not the resource has been deleted.
|
GetTemplateResult |
withDescription(String description)
A brief description of the template.
|
GetTemplateResult |
withLastModifiedTime(Date lastModifiedTime)
Timestamp at which the resource was created or last modified.
|
GetTemplateResult |
withLayoutConfiguration(LayoutConfiguration layoutConfiguration)
Configuration of layouts associated to the template.
|
GetTemplateResult |
withName(String name)
The name of the template.
|
GetTemplateResult |
withRequiredFields(Collection<RequiredField> requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
|
GetTemplateResult |
withRequiredFields(RequiredField... requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
|
GetTemplateResult |
withStatus(String status)
The status of the template.
|
GetTemplateResult |
withStatus(TemplateStatus status)
The status of the template.
|
GetTemplateResult |
withTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource.
|
GetTemplateResult |
withTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
|
GetTemplateResult |
withTemplateId(String templateId)
A unique identifier of a template.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCreatedTime(Date createdTime)
Timestamp at which the resource was created.
createdTime
- Timestamp at which the resource was created.public Date getCreatedTime()
Timestamp at which the resource was created.
public GetTemplateResult withCreatedTime(Date createdTime)
Timestamp at which the resource was created.
createdTime
- Timestamp at which the resource was created.public void setDeleted(Boolean deleted)
Denotes whether or not the resource has been deleted.
deleted
- Denotes whether or not the resource has been deleted.public Boolean getDeleted()
Denotes whether or not the resource has been deleted.
public GetTemplateResult withDeleted(Boolean deleted)
Denotes whether or not the resource has been deleted.
deleted
- Denotes whether or not the resource has been deleted.public Boolean isDeleted()
Denotes whether or not the resource has been deleted.
public void setDescription(String description)
A brief description of the template.
description
- A brief description of the template.public String getDescription()
A brief description of the template.
public GetTemplateResult withDescription(String description)
A brief description of the template.
description
- A brief description of the template.public void setLastModifiedTime(Date lastModifiedTime)
Timestamp at which the resource was created or last modified.
lastModifiedTime
- Timestamp at which the resource was created or last modified.public Date getLastModifiedTime()
Timestamp at which the resource was created or last modified.
public GetTemplateResult withLastModifiedTime(Date lastModifiedTime)
Timestamp at which the resource was created or last modified.
lastModifiedTime
- Timestamp at which the resource was created or last modified.public void setLayoutConfiguration(LayoutConfiguration layoutConfiguration)
Configuration of layouts associated to the template.
layoutConfiguration
- Configuration of layouts associated to the template.public LayoutConfiguration getLayoutConfiguration()
Configuration of layouts associated to the template.
public GetTemplateResult withLayoutConfiguration(LayoutConfiguration layoutConfiguration)
Configuration of layouts associated to the template.
layoutConfiguration
- Configuration of layouts associated to the template.public void setName(String name)
The name of the template.
name
- The name of the template.public String getName()
The name of the template.
public GetTemplateResult withName(String name)
The name of the template.
name
- The name of the template.public List<RequiredField> getRequiredFields()
A list of fields that must contain a value for a case to be successfully created with this template.
public void setRequiredFields(Collection<RequiredField> requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
requiredFields
- A list of fields that must contain a value for a case to be successfully created with this template.public GetTemplateResult withRequiredFields(RequiredField... requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
NOTE: This method appends the values to the existing list (if any). Use
setRequiredFields(java.util.Collection)
or withRequiredFields(java.util.Collection)
if you want
to override the existing values.
requiredFields
- A list of fields that must contain a value for a case to be successfully created with this template.public GetTemplateResult withRequiredFields(Collection<RequiredField> requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
requiredFields
- A list of fields that must contain a value for a case to be successfully created with this template.public void setStatus(String status)
The status of the template.
status
- The status of the template.TemplateStatus
public String getStatus()
The status of the template.
TemplateStatus
public GetTemplateResult withStatus(String status)
The status of the template.
status
- The status of the template.TemplateStatus
public GetTemplateResult withStatus(TemplateStatus status)
The status of the template.
status
- The status of the template.TemplateStatus
public Map<String,String> getTags()
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
public void setTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
tags
- A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or
control access for this resource.public GetTemplateResult withTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
tags
- A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or
control access for this resource.public GetTemplateResult addTagsEntry(String key, String value)
public GetTemplateResult clearTagsEntries()
public void setTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
templateArn
- The Amazon Resource Name (ARN) of the template.public String getTemplateArn()
The Amazon Resource Name (ARN) of the template.
public GetTemplateResult withTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
templateArn
- The Amazon Resource Name (ARN) of the template.public void setTemplateId(String templateId)
A unique identifier of a template.
templateId
- A unique identifier of a template.public String getTemplateId()
A unique identifier of a template.
public GetTemplateResult withTemplateId(String templateId)
A unique identifier of a template.
templateId
- A unique identifier of a template.public String toString()
toString
in class Object
Object.toString()
public GetTemplateResult clone()