@Stability(value=Stable) public static final class CfnTemplate.Builder extends Object implements software.amazon.jsii.Builder<CfnTemplate>
CfnTemplate.| Modifier and Type | Method and Description |
|---|---|
CfnTemplate.Builder |
awsAccountId(String awsAccountId)
The ID for the AWS account that the group is in.
|
CfnTemplate |
build() |
static CfnTemplate.Builder |
create(Construct scope,
String id) |
CfnTemplate.Builder |
name(String name)
A display name for the template.
|
CfnTemplate.Builder |
permissions(IResolvable permissions)
A list of resource permissions to be set on the template.
|
CfnTemplate.Builder |
permissions(List<? extends Object> permissions)
A list of resource permissions to be set on the template.
|
CfnTemplate.Builder |
sourceEntity(CfnTemplate.TemplateSourceEntityProperty sourceEntity)
The entity that you are using as a source when you create the template.
|
CfnTemplate.Builder |
sourceEntity(IResolvable sourceEntity)
The entity that you are using as a source when you create the template.
|
CfnTemplate.Builder |
tags(List<? extends CfnTag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
CfnTemplate.Builder |
templateId(String templateId)
An ID for the template that you want to create.
|
CfnTemplate.Builder |
versionDescription(String versionDescription)
A description of the current template version being created.
|
@Stability(value=Stable) public static CfnTemplate.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnTemplate.DataSetReferenceProperty.Builder.@Stability(value=Stable) public CfnTemplate.Builder awsAccountId(String awsAccountId)
You use the ID for the AWS account that contains your Amazon QuickSight account.
awsAccountId - The ID for the AWS account that the group is in. This parameter is required.this@Stability(value=Stable) public CfnTemplate.Builder sourceEntity(IResolvable sourceEntity)
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 AWS account and any Amazon QuickSight-supported AWS 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.
sourceEntity - The entity that you are using as a source when you create the template. This parameter is required.this@Stability(value=Stable) public CfnTemplate.Builder sourceEntity(CfnTemplate.TemplateSourceEntityProperty sourceEntity)
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 AWS account and any Amazon QuickSight-supported AWS 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.
sourceEntity - The entity that you are using as a source when you create the template. This parameter is required.this@Stability(value=Stable) public CfnTemplate.Builder templateId(String templateId)
This template is unique per AWS Region ; in each AWS account.
templateId - An ID for the template that you want to create. This parameter is required.this@Stability(value=Stable) public CfnTemplate.Builder name(String name)
name - A display name for the template. This parameter is required.this@Stability(value=Stable) public CfnTemplate.Builder permissions(IResolvable permissions)
permissions - A list of resource permissions to be set on the template. This parameter is required.this@Stability(value=Stable) public CfnTemplate.Builder permissions(List<? extends Object> permissions)
permissions - A list of resource permissions to be set on the template. This parameter is required.this@Stability(value=Stable) public CfnTemplate.Builder tags(List<? extends CfnTag> tags)
tags - Contains a map of the key-value pairs for the resource tag or tags assigned to the resource. This parameter is required.this@Stability(value=Stable) public CfnTemplate.Builder versionDescription(String versionDescription)
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 parameter is required.this@Stability(value=Stable) public CfnTemplate build()
build in interface software.amazon.jsii.Builder<CfnTemplate>Copyright © 2022. All rights reserved.