Class CfnTemplatePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin>
- Enclosing class:
CfnTemplatePropsMixin
CfnTemplatePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) The ID for the AWS account that the group is in.build()create()create(CfnPropertyMixinOptions options) definition(IResolvable 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.The entity that you are using as a source when you create the template.sourceEntity(IResolvable 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.validationStrategy(CfnTemplatePropsMixin.ValidationStrategyProperty validationStrategy) The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects.validationStrategy(IResolvable validationStrategy) The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects.versionDescription(String versionDescription) A description of the current template version being created.
-
Method Details
-
create
@Stability(Stable) public static CfnTemplatePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTemplatePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTemplatePropsMixin.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 Quick Sight account.
- Parameters:
awsAccountId- The ID for the AWS account that the group is in. This parameter is required.- Returns:
this- See Also:
-
definition
- Parameters:
definition- This parameter is required.- Returns:
this- See Also:
-
definition
@Stability(Stable) public CfnTemplatePropsMixin.Builder definition(CfnTemplatePropsMixin.TemplateVersionDefinitionProperty definition) - Parameters:
definition- This parameter is required.- Returns:
this- See Also:
-
name
A display name for the template.- Parameters:
name- A display name for the template. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
permissions
@Stability(Stable) public CfnTemplatePropsMixin.Builder permissions(List<? extends Object> 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- See Also:
-
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 Quick Sight-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- See Also:
-
sourceEntity
@Stability(Stable) public CfnTemplatePropsMixin.Builder sourceEntity(CfnTemplatePropsMixin.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 Quick Sight-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- See Also:
-
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- See Also:
-
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- See Also:
-
validationStrategy
@Stability(Stable) public CfnTemplatePropsMixin.Builder validationStrategy(IResolvable validationStrategy) The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects.When you set this value to
LENIENT, validation is skipped for specific errors.- Parameters:
validationStrategy- The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects. This parameter is required.- Returns:
this- See Also:
-
validationStrategy
@Stability(Stable) public CfnTemplatePropsMixin.Builder validationStrategy(CfnTemplatePropsMixin.ValidationStrategyProperty validationStrategy) The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects.When you set this value to
LENIENT, validation is skipped for specific errors.- Parameters:
validationStrategy- The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects. This parameter is required.- Returns:
this- See Also:
-
versionDescription
@Stability(Stable) public CfnTemplatePropsMixin.Builder versionDescription(String 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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin>- Returns:
- a newly built instance of
CfnTemplatePropsMixin.
-