@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The ID for the Amazon Web Services account that the group is in.
|
TemplateVersionDefinition |
getDefinition()
The definition of a template.
|
String |
getName()
A display name for the template.
|
List<ResourcePermission> |
getPermissions()
A list of resource permissions to be set on the template.
|
TemplateSourceEntity |
getSourceEntity()
The entity that you are using as a source when you create the template.
|
List<Tag> |
getTags()
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
String |
getTemplateId()
An ID for the template that you want to create.
|
ValidationStrategy |
getValidationStrategy()
TThe option to relax the validation needed to create a template with definition objects.
|
String |
getVersionDescription()
A description of the current template version being created.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The ID for the Amazon Web Services account that the group is in.
|
void |
setDefinition(TemplateVersionDefinition definition)
The definition of a template.
|
void |
setName(String name)
A display name for the template.
|
void |
setPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
|
void |
setSourceEntity(TemplateSourceEntity sourceEntity)
The entity that you are using as a source when you create the template.
|
void |
setTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
void |
setTemplateId(String templateId)
An ID for the template that you want to create.
|
void |
setValidationStrategy(ValidationStrategy validationStrategy)
TThe option to relax the validation needed to create a template with definition objects.
|
void |
setVersionDescription(String versionDescription)
A description of the current template version being created.
|
String |
toString()
Returns a string representation of this object.
|
CreateTemplateRequest |
withAwsAccountId(String awsAccountId)
The ID for the Amazon Web Services account that the group is in.
|
CreateTemplateRequest |
withDefinition(TemplateVersionDefinition definition)
The definition of a template.
|
CreateTemplateRequest |
withName(String name)
A display name for the template.
|
CreateTemplateRequest |
withPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
|
CreateTemplateRequest |
withPermissions(ResourcePermission... permissions)
A list of resource permissions to be set on the template.
|
CreateTemplateRequest |
withSourceEntity(TemplateSourceEntity sourceEntity)
The entity that you are using as a source when you create the template.
|
CreateTemplateRequest |
withTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
CreateTemplateRequest |
withTags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
CreateTemplateRequest |
withTemplateId(String templateId)
An ID for the template that you want to create.
|
CreateTemplateRequest |
withValidationStrategy(ValidationStrategy validationStrategy)
TThe option to relax the validation needed to create a template with definition objects.
|
CreateTemplateRequest |
withVersionDescription(String versionDescription)
A description of the current template version being created.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAwsAccountId(String awsAccountId)
The ID for the Amazon Web Services account that the group is in. You use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
awsAccountId
- The ID for the Amazon Web Services account that the group is in. You use the ID for the Amazon Web
Services account that contains your Amazon QuickSight account.public String getAwsAccountId()
The ID for the Amazon Web Services account that the group is in. You use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
public CreateTemplateRequest withAwsAccountId(String awsAccountId)
The ID for the Amazon Web Services account that the group is in. You use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
awsAccountId
- The ID for the Amazon Web Services account that the group is in. You use the ID for the Amazon Web
Services account that contains your Amazon QuickSight account.public void setTemplateId(String templateId)
An ID for the template that you want to create. This template is unique per Amazon Web Services Region; in each Amazon Web Services account.
templateId
- An ID for the template that you want to create. This template is unique per Amazon Web Services Region; in
each Amazon Web Services account.public String getTemplateId()
An ID for the template that you want to create. This template is unique per Amazon Web Services Region; in each Amazon Web Services account.
public CreateTemplateRequest withTemplateId(String templateId)
An ID for the template that you want to create. This template is unique per Amazon Web Services Region; in each Amazon Web Services account.
templateId
- An ID for the template that you want to create. This template is unique per Amazon Web Services Region; in
each Amazon Web Services account.public void setName(String name)
A display name for the template.
name
- A display name for the template.public String getName()
A display name for the template.
public CreateTemplateRequest withName(String name)
A display name for the template.
name
- A display name for the template.public List<ResourcePermission> getPermissions()
A list of resource permissions to be set on the template.
public void setPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
permissions
- A list of resource permissions to be set on the template.public CreateTemplateRequest withPermissions(ResourcePermission... permissions)
A list of resource permissions to be set on the template.
NOTE: This method appends the values to the existing list (if any). Use
setPermissions(java.util.Collection)
or withPermissions(java.util.Collection)
if you want to
override the existing values.
permissions
- A list of resource permissions to be set on the template.public CreateTemplateRequest withPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
permissions
- A list of resource permissions to be set on the template.public void setSourceEntity(TemplateSourceEntity sourceEntity)
The entity that you are using as a source when you create the template. In SourceEntity
, you specify
the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
, specify the
ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web Services account and
any Amazon QuickSight-supported Amazon Web Services Region.
Use the DataSetReferences
entity within SourceTemplate
or SourceAnalysis
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must
match its placeholder.
Either a SourceEntity
or a Definition
must be provided in order for the request to be
valid.
sourceEntity
- The entity that you are using as a source when you create the template. In SourceEntity
, you
specify the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
,
specify the ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web
Services account and any Amazon QuickSight-supported Amazon Web Services Region.
Use the DataSetReferences
entity within SourceTemplate
or
SourceAnalysis
to list the replacement datasets for the placeholders listed in the original.
The schema in each dataset must match its placeholder.
Either a SourceEntity
or a Definition
must be provided in order for the request
to be valid.
public TemplateSourceEntity getSourceEntity()
The entity that you are using as a source when you create the template. In SourceEntity
, you specify
the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
, specify the
ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web Services account and
any Amazon QuickSight-supported Amazon Web Services Region.
Use the DataSetReferences
entity within SourceTemplate
or SourceAnalysis
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must
match its placeholder.
Either a SourceEntity
or a Definition
must be provided in order for the request to be
valid.
SourceEntity
, you
specify the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
,
specify the ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web
Services account and any Amazon QuickSight-supported Amazon Web Services Region.
Use the DataSetReferences
entity within SourceTemplate
or
SourceAnalysis
to list the replacement datasets for the placeholders listed in the original.
The schema in each dataset must match its placeholder.
Either a SourceEntity
or a Definition
must be provided in order for the request
to be valid.
public CreateTemplateRequest withSourceEntity(TemplateSourceEntity sourceEntity)
The entity that you are using as a source when you create the template. In SourceEntity
, you specify
the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
, specify the
ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web Services account and
any Amazon QuickSight-supported Amazon Web Services Region.
Use the DataSetReferences
entity within SourceTemplate
or SourceAnalysis
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must
match its placeholder.
Either a SourceEntity
or a Definition
must be provided in order for the request to be
valid.
sourceEntity
- The entity that you are using as a source when you create the template. In SourceEntity
, you
specify the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
,
specify the ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web
Services account and any Amazon QuickSight-supported Amazon Web Services Region.
Use the DataSetReferences
entity within SourceTemplate
or
SourceAnalysis
to list the replacement datasets for the placeholders listed in the original.
The schema in each dataset must match its placeholder.
Either a SourceEntity
or a Definition
must be provided in order for the request
to be valid.
public List<Tag> getTags()
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
public void setTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.public CreateTemplateRequest withTags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.public CreateTemplateRequest withTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.public void setVersionDescription(String versionDescription)
A description of the current template version being created. This API operation creates the first version of the
template. Every time UpdateTemplate
is called, a new version is created. Each version of the
template maintains a description of the version in the VersionDescription
field.
versionDescription
- A description of the current template version being created. This API operation creates the first version
of the template. Every time UpdateTemplate
is called, a new version is created. Each version
of the template maintains a description of the version in the VersionDescription
field.public String getVersionDescription()
A description of the current template version being created. This API operation creates the first version of the
template. Every time UpdateTemplate
is called, a new version is created. Each version of the
template maintains a description of the version in the VersionDescription
field.
UpdateTemplate
is called, a new version is created. Each version
of the template maintains a description of the version in the VersionDescription
field.public CreateTemplateRequest withVersionDescription(String versionDescription)
A description of the current template version being created. This API operation creates the first version of the
template. Every time UpdateTemplate
is called, a new version is created. Each version of the
template maintains a description of the version in the VersionDescription
field.
versionDescription
- A description of the current template version being created. This API operation creates the first version
of the template. Every time UpdateTemplate
is called, a new version is created. Each version
of the template maintains a description of the version in the VersionDescription
field.public void setDefinition(TemplateVersionDefinition definition)
The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a SourceEntity
or a Definition
must be provided in order for the request to be
valid.
definition
- The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a SourceEntity
or a Definition
must be provided in order for the request
to be valid.
public TemplateVersionDefinition getDefinition()
The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a SourceEntity
or a Definition
must be provided in order for the request to be
valid.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a SourceEntity
or a Definition
must be provided in order for the request
to be valid.
public CreateTemplateRequest withDefinition(TemplateVersionDefinition definition)
The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a SourceEntity
or a Definition
must be provided in order for the request to be
valid.
definition
- The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a SourceEntity
or a Definition
must be provided in order for the request
to be valid.
public void setValidationStrategy(ValidationStrategy validationStrategy)
TThe option to relax the validation needed to create a template with definition objects. This skips the validation step for specific errors.
validationStrategy
- TThe option to relax the validation needed to create a template with definition objects. This skips the
validation step for specific errors.public ValidationStrategy getValidationStrategy()
TThe option to relax the validation needed to create a template with definition objects. This skips the validation step for specific errors.
public CreateTemplateRequest withValidationStrategy(ValidationStrategy validationStrategy)
TThe option to relax the validation needed to create a template with definition objects. This skips the validation step for specific errors.
validationStrategy
- TThe option to relax the validation needed to create a template with definition objects. This skips the
validation step for specific errors.public String toString()
toString
in class Object
Object.toString()
public CreateTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()