Class CfnAnalysisProps.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysisProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysisProps>
- Enclosing interface:
- CfnAnalysisProps
@Stability(Stable)
public static final class CfnAnalysisProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysisProps>
A builder for
CfnAnalysisProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalysisId(String analysisId) Sets the value ofCfnAnalysisProps.getAnalysisId()awsAccountId(String awsAccountId) Sets the value ofCfnAnalysisProps.getAwsAccountId()build()Builds the configured instance.definition(IResolvable definition) Sets the value ofCfnAnalysisProps.getDefinition()definition(CfnAnalysis.AnalysisDefinitionProperty definition) Sets the value ofCfnAnalysisProps.getDefinition()Sets the value ofCfnAnalysisProps.getName()parameters(IResolvable parameters) Sets the value ofCfnAnalysisProps.getParameters()parameters(CfnAnalysis.ParametersProperty parameters) Sets the value ofCfnAnalysisProps.getParameters()permissions(List<? extends Object> permissions) Sets the value ofCfnAnalysisProps.getPermissions()permissions(IResolvable permissions) Sets the value ofCfnAnalysisProps.getPermissions()sourceEntity(IResolvable sourceEntity) Sets the value ofCfnAnalysisProps.getSourceEntity()sourceEntity(CfnAnalysis.AnalysisSourceEntityProperty sourceEntity) Sets the value ofCfnAnalysisProps.getSourceEntity()Sets the value ofCfnAnalysisProps.getStatus()Sets the value ofCfnAnalysisProps.getTags()Sets the value ofCfnAnalysisProps.getThemeArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
analysisId
Sets the value ofCfnAnalysisProps.getAnalysisId()- Parameters:
analysisId- The ID for the analysis that you're creating. This parameter is required. This ID displays in the URL of the analysis.- Returns:
this
-
awsAccountId
Sets the value ofCfnAnalysisProps.getAwsAccountId()- Parameters:
awsAccountId- The ID of the AWS account where you are creating an analysis. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnAnalysisProps.getName()- Parameters:
name- A descriptive name for the analysis that you're creating. This parameter is required. This name displays for the analysis in the Amazon QuickSight console.- Returns:
this
-
definition
@Stability(Stable) public CfnAnalysisProps.Builder definition(CfnAnalysis.AnalysisDefinitionProperty definition) Sets the value ofCfnAnalysisProps.getDefinition()- Parameters:
definition-AWS::QuickSight::Analysis.Definition.- Returns:
this
-
definition
Sets the value ofCfnAnalysisProps.getDefinition()- Parameters:
definition-AWS::QuickSight::Analysis.Definition.- Returns:
this
-
parameters
Sets the value ofCfnAnalysisProps.getParameters()- Parameters:
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.- Returns:
this
-
parameters
@Stability(Stable) public CfnAnalysisProps.Builder parameters(CfnAnalysis.ParametersProperty parameters) Sets the value ofCfnAnalysisProps.getParameters()- Parameters:
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.- Returns:
this
-
permissions
Sets the value ofCfnAnalysisProps.getPermissions()- Parameters:
permissions- A structure that describes the principals and the resource-level permissions on an analysis. You can use thePermissionsstructure 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.- Returns:
this
-
permissions
Sets the value ofCfnAnalysisProps.getPermissions()- Parameters:
permissions- A structure that describes the principals and the resource-level permissions on an analysis. You can use thePermissionsstructure 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.- Returns:
this
-
sourceEntity
Sets the value ofCfnAnalysisProps.getSourceEntity()- Parameters:
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
SourceEntityor aDefinitionmust be provided in order for the request to be valid.- Returns:
this
-
sourceEntity
@Stability(Stable) public CfnAnalysisProps.Builder sourceEntity(CfnAnalysis.AnalysisSourceEntityProperty sourceEntity) Sets the value ofCfnAnalysisProps.getSourceEntity()- Parameters:
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
SourceEntityor aDefinitionmust be provided in order for the request to be valid.- Returns:
this
-
status
Sets the value ofCfnAnalysisProps.getStatus()- Parameters:
status- Status associated with the analysis.- Returns:
this
-
tags
Sets the value ofCfnAnalysisProps.getTags()- Parameters:
tags- Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.- Returns:
this
-
themeArn
Sets the value ofCfnAnalysisProps.getThemeArn()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysisProps>- Returns:
- a new instance of
CfnAnalysisProps - Throws:
NullPointerException- if any required attribute was not provided
-