@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) |
String |
getDescription()
A brief description of the template.
|
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() |
void |
setDescription(String description)
A brief description of the template.
|
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 |
withDescription(String description)
A brief description of the template.
|
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 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 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()