Class CfnAnalysis.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis>
- Enclosing class:
CfnAnalysis
CfnAnalysis
.-
Method Summary
Modifier and TypeMethodDescriptionanalysisId
(String analysisId) The ID for the analysis that you're creating.awsAccountId
(String awsAccountId) The ID of the AWS account where you are creating an analysis.build()
static CfnAnalysis.Builder
definition
(IResolvable definition) definition
(CfnAnalysis.AnalysisDefinitionProperty definition) Errors associated with the analysis.errors
(IResolvable errors) Errors associated with the analysis.folderArns
(List<String> folderArns) A descriptive name for the analysis that you're creating.parameters
(IResolvable parameters) The parameter names and override values that you want to use.parameters
(CfnAnalysis.ParametersProperty parameters) The parameter names and override values that you want to use.permissions
(List<? extends Object> permissions) A structure that describes the principals and the resource-level permissions on an analysis.permissions
(IResolvable permissions) A structure that describes the principals and the resource-level permissions on an analysis.A list of the associated sheets with the unique identifier and name of each sheet.sheets
(IResolvable sheets) A list of the associated sheets with the unique identifier and name of each sheet.sourceEntity
(IResolvable sourceEntity) A source entity to use for the analysis that you're creating.sourceEntity
(CfnAnalysis.AnalysisSourceEntityProperty sourceEntity) A source entity to use for the analysis that you're creating.Status associated with the analysis.Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.The ARN for the theme to apply to the analysis that you're creating.validationStrategy
(IResolvable validationStrategy) The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects.validationStrategy
(CfnAnalysis.ValidationStrategyProperty validationStrategy) The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects.
-
Method Details
-
create
@Stability(Stable) public static CfnAnalysis.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAnalysis.Builder
.
-
analysisId
The ID for the analysis that you're creating.This ID displays in the URL of the analysis.
- Parameters:
analysisId
- The ID for the analysis that you're creating. This parameter is required.- Returns:
this
- See Also:
-
awsAccountId
The ID of the AWS account where you are creating an analysis.- Parameters:
awsAccountId
- The ID of the AWS account where you are creating an analysis. This parameter is required.- Returns:
this
- See Also:
-
name
A descriptive name for the analysis that you're creating.This name displays for the analysis in the Amazon QuickSight console.
- Parameters:
name
- A descriptive name for the analysis that you're creating. This parameter is required.- Returns:
this
- See Also:
-
definition
- Parameters:
definition
- This parameter is required.- Returns:
this
- See Also:
-
definition
@Stability(Stable) public CfnAnalysis.Builder definition(CfnAnalysis.AnalysisDefinitionProperty definition) - Parameters:
definition
- This parameter is required.- Returns:
this
- See Also:
-
errors
Errors associated with the analysis.- Parameters:
errors
- Errors associated with the analysis. This parameter is required.- Returns:
this
- See Also:
-
errors
Errors associated with the analysis.- Parameters:
errors
- Errors associated with the analysis. This parameter is required.- Returns:
this
- See Also:
-
folderArns
- Parameters:
folderArns
- This parameter is required.- Returns:
this
- See Also:
-
parameters
The parameter names and override values that you want to use.An analysis can have any parameter type, and some parameters might accept multiple values.
- Parameters:
parameters
- The parameter names and override values that you want to use. This parameter is required.- Returns:
this
- See Also:
-
parameters
The parameter names and override values that you want to use.An analysis can have any parameter type, and some parameters might accept multiple values.
- Parameters:
parameters
- The parameter names and override values that you want to use. This parameter is required.- Returns:
this
- See Also:
-
permissions
A structure that describes the principals and the resource-level permissions on an analysis.You can use the
Permissions
structure to grant permissions by providing a list of AWS Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).To specify no permissions, omit
Permissions
.- Parameters:
permissions
- A structure that describes the principals and the resource-level permissions on an analysis. This parameter is required.- Returns:
this
- See Also:
-
permissions
A structure that describes the principals and the resource-level permissions on an analysis.You can use the
Permissions
structure to grant permissions by providing a list of AWS Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).To specify no permissions, omit
Permissions
.- Parameters:
permissions
- A structure that describes the principals and the resource-level permissions on an analysis. This parameter is required.- Returns:
this
- See Also:
-
sheets
A list of the associated sheets with the unique identifier and name of each sheet.- Parameters:
sheets
- A list of the associated sheets with the unique identifier and name of each sheet. This parameter is required.- Returns:
this
- See Also:
-
sheets
A list of the associated sheets with the unique identifier and name of each sheet.- Parameters:
sheets
- A list of the associated sheets with the unique identifier and name of each sheet. This parameter is required.- Returns:
this
- See Also:
-
sourceEntity
A source entity to use for the analysis that you're creating.This metadata structure contains details that describe a source template and one or more datasets.
Either a
SourceEntity
or aDefinition
must be provided in order for the request to be valid.- Parameters:
sourceEntity
- A source entity to use for the analysis that you're creating. This parameter is required.- Returns:
this
- See Also:
-
sourceEntity
@Stability(Stable) public CfnAnalysis.Builder sourceEntity(CfnAnalysis.AnalysisSourceEntityProperty sourceEntity) A source entity to use for the analysis that you're creating.This metadata structure contains details that describe a source template and one or more datasets.
Either a
SourceEntity
or aDefinition
must be provided in order for the request to be valid.- Parameters:
sourceEntity
- A source entity to use for the analysis that you're creating. This parameter is required.- Returns:
this
- See Also:
-
status
Status associated with the analysis.- Parameters:
status
- Status associated with the analysis. 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 analysis.- Parameters:
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis. This parameter is required.- Returns:
this
- See Also:
-
themeArn
The ARN for the theme to apply to the analysis that you're creating.To see the theme in the Amazon QuickSight console, make sure that you have access to it.
- Parameters:
themeArn
- The ARN for the theme to apply to the analysis that you're creating. This parameter is required.- Returns:
this
- See Also:
-
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 CfnAnalysis.Builder validationStrategy(CfnAnalysis.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:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis>
- Returns:
- a newly built instance of
CfnAnalysis
.
-