Class CfnTemplate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate>
- Enclosing class:
- CfnTemplate
CfnTemplate.-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) The ID for the AWS account that the group is in.build()static CfnTemplate.Builderdefinition(IResolvable definition) AWS::QuickSight::Template.Definition.AWS::QuickSight::Template.Definition.A display name for the template.permissions(List<? extends Object> permissions) A list of resource permissions to be set on the template.permissions(IResolvable permissions) A list of resource permissions to be set on the template.sourceEntity(IResolvable sourceEntity) The entity that you are using as a source when you create the template.sourceEntity(CfnTemplate.TemplateSourceEntityProperty sourceEntity) The entity that you are using as a source when you create the template.Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.templateId(String templateId) An ID for the template that you want to create.versionDescription(String versionDescription) A description of the current template version being created.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnTemplate.Builder.
-
awsAccountId
The ID for the AWS account that the group is in.You use the ID for the AWS account that contains your Amazon QuickSight account.
- Parameters:
awsAccountId- The ID for the AWS account that the group is in. This parameter is required.- Returns:
this
-
templateId
An ID for the template that you want to create.This template is unique per AWS Region ; in each AWS account.
- Parameters:
templateId- An ID for the template that you want to create. This parameter is required.- Returns:
this
-
definition
AWS::QuickSight::Template.Definition.- Parameters:
definition-AWS::QuickSight::Template.Definition. This parameter is required.- Returns:
this
-
definition
@Stability(Stable) public CfnTemplate.Builder definition(CfnTemplate.TemplateVersionDefinitionProperty definition) AWS::QuickSight::Template.Definition.- Parameters:
definition-AWS::QuickSight::Template.Definition. This parameter is required.- Returns:
this
-
name
A display name for the template.- Parameters:
name- A display name for the template. This parameter is required.- Returns:
this
-
permissions
A list of resource permissions to be set on the template.- Parameters:
permissions- A list of resource permissions to be set on the template. This parameter is required.- Returns:
this
-
permissions
A list of resource permissions to be set on the template.- Parameters:
permissions- A list of resource permissions to be set on the template. This parameter is required.- Returns:
this
-
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:SourceTemplatefor a template orSourceAnalysisfor an analysis. Both of these require an Amazon Resource Name (ARN). ForSourceTemplate, specify the ARN of the source template. ForSourceAnalysis, specify the ARN of the source analysis. TheSourceTemplateARN can contain any AWS account and any Amazon QuickSight-supported AWS Region .Use the
DataSetReferencesentity withinSourceTemplateorSourceAnalysisto list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.Either a
SourceEntityor aDefinitionmust be provided in order for the request to be valid.- Parameters:
sourceEntity- The entity that you are using as a source when you create the template. This parameter is required.- Returns:
this
-
sourceEntity
@Stability(Stable) public CfnTemplate.Builder sourceEntity(CfnTemplate.TemplateSourceEntityProperty 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:SourceTemplatefor a template orSourceAnalysisfor an analysis. Both of these require an Amazon Resource Name (ARN). ForSourceTemplate, specify the ARN of the source template. ForSourceAnalysis, specify the ARN of the source analysis. TheSourceTemplateARN can contain any AWS account and any Amazon QuickSight-supported AWS Region .Use the
DataSetReferencesentity withinSourceTemplateorSourceAnalysisto list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.Either a
SourceEntityor aDefinitionmust be provided in order for the request to be valid.- Parameters:
sourceEntity- The entity that you are using as a source when you create the template. This parameter is required.- Returns:
this
-
tags
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.- Parameters:
tags- Contains a map of the key-value pairs for the resource tag or tags assigned to the resource. This parameter is required.- Returns:
this
-
versionDescription
A description of the current template version being created.This API operation creates the first version of the template. Every time
UpdateTemplateis called, a new version is created. Each version of the template maintains a description of the version in theVersionDescriptionfield.- Parameters:
versionDescription- A description of the current template version being created. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate>- Returns:
- a newly built instance of
CfnTemplate.
-