@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 Amazon QuickSight that encapsulates the metadata required to create an analysis and that you can use to create a dashboard. A template adds a layer of abstraction by using placeholders to replace the dataset associated with an analysis. You can use templates to create dashboards by replacing dataset placeholders with datasets that follow the same schema that was used to create the source analysis and template.
You can share templates across Amazon Web Services accounts by allowing users in other Amazon Web Services 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 Amazon Resource Name (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 Amazon Resource Name (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 Amazon Resource Name (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 Amazon Resource Name (ARN) of the template.
arn
- The Amazon Resource Name (ARN) of the template.public String getArn()
The Amazon Resource Name (ARN) of the template.
public Template withArn(String arn)
The Amazon Resource Name (ARN) of the template.
arn
- The Amazon Resource Name (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 Amazon Web Services Region for each Amazon Web Services account.
templateId
- The ID for the template. This is unique per Amazon Web Services Region for each Amazon Web Services
account.public String getTemplateId()
The ID for the template. This is unique per Amazon Web Services Region for each Amazon Web Services account.
public Template withTemplateId(String templateId)
The ID for the template. This is unique per Amazon Web Services Region for each Amazon Web Services account.
templateId
- The ID for the template. This is unique per Amazon Web Services Region for each Amazon Web Services
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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.