@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Template extends Object implements Serializable, Cloneable, StructuredPojo
A template object. A template is an entity in QuickSight which encapsulates the metadata required to create an analysis that can be used to create dashboard. It adds a layer of abstraction by replacing the dataset associated with the analysis with placeholders. Templates can be used to create dashboards by replacing dataset placeholders with datasets which follow the same schema that was used to create the source analysis and template.
You can share templates across AWS accounts by allowing users in other AWS accounts to create a template or a dashboard from an existing template.
| Constructor and Description |
|---|
Template() |
| Modifier and Type | Method and Description |
|---|---|
Template |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the template.
|
Date |
getCreatedTime()
Time when this was created.
|
Date |
getLastUpdatedTime()
Time when this was last updated.
|
String |
getName()
The display name of the template.
|
String |
getTemplateId()
The ID for the template.
|
TemplateVersion |
getVersion()
A structure describing the versions of the template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The ARN of the template.
|
void |
setCreatedTime(Date createdTime)
Time when this was created.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
Time when this was last updated.
|
void |
setName(String name)
The display name of the template.
|
void |
setTemplateId(String templateId)
The ID for the template.
|
void |
setVersion(TemplateVersion version)
A structure describing the versions of the template.
|
String |
toString()
Returns a string representation of this object.
|
Template |
withArn(String arn)
The ARN of the template.
|
Template |
withCreatedTime(Date createdTime)
Time when this was created.
|
Template |
withLastUpdatedTime(Date lastUpdatedTime)
Time when this was last updated.
|
Template |
withName(String name)
The display name of the template.
|
Template |
withTemplateId(String templateId)
The ID for the template.
|
Template |
withVersion(TemplateVersion version)
A structure describing the versions of the template.
|
public void setArn(String arn)
The ARN of the template.
arn - The ARN of the template.public String getArn()
The ARN of the template.
public Template withArn(String arn)
The ARN of the template.
arn - The ARN of the template.public void setName(String name)
The display name of the template.
name - The display name of the template.public String getName()
The display name of the template.
public Template withName(String name)
The display name of the template.
name - The display name of the template.public void setVersion(TemplateVersion version)
A structure describing the versions of the template.
version - A structure describing the versions of the template.public TemplateVersion getVersion()
A structure describing the versions of the template.
public Template withVersion(TemplateVersion version)
A structure describing the versions of the template.
version - A structure describing the versions of the template.public void setTemplateId(String templateId)
The ID for the template. This is unique per region per AWS account.
templateId - The ID for the template. This is unique per region per AWS account.public String getTemplateId()
The ID for the template. This is unique per region per AWS account.
public Template withTemplateId(String templateId)
The ID for the template. This is unique per region per AWS account.
templateId - The ID for the template. This is unique per region per AWS account.public void setLastUpdatedTime(Date lastUpdatedTime)
Time when this was last updated.
lastUpdatedTime - Time when this was last updated.public Date getLastUpdatedTime()
Time when this was last updated.
public Template withLastUpdatedTime(Date lastUpdatedTime)
Time when this was last updated.
lastUpdatedTime - Time when this was last updated.public void setCreatedTime(Date createdTime)
Time when this was created.
createdTime - Time when this was created.public Date getCreatedTime()
Time when this was created.
public Template withCreatedTime(Date createdTime)
Time when this was created.
createdTime - Time when this was created.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.