@Generated(value="software.amazon.awssdk:codegen") public final class Template extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Template.Builder,Template>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Template.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the template.
|
static Template.Builder |
builder() |
Instant |
createdTime()
Time when this was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedTime()
Time when this was last updated.
|
String |
name()
The display name of the template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Template.Builder> |
serializableBuilderClass() |
String |
templateId()
The ID for the template.
|
Template.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TemplateVersion |
version()
A structure describing the versions of the template.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the template.
public final String name()
The display name of the template.
public final TemplateVersion version()
A structure describing the versions of the template.
public final String templateId()
The ID for the template. This is unique per Amazon Web Services Region for each Amazon Web Services account.
public final Instant lastUpdatedTime()
Time when this was last updated.
public final Instant createdTime()
Time when this was created.
public Template.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Template.Builder,Template>public static Template.Builder builder()
public static Class<? extends Template.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.