public static final class CfnAnalysisProps.Builder
extends java.lang.Object
CfnAnalysisProps
Constructor and Description |
---|
Builder() |
public CfnAnalysisProps.Builder analysisId(java.lang.String analysisId)
CfnAnalysisProps.getAnalysisId()
analysisId
- The ID for the analysis that you're creating. This parameter is required.
This ID displays in the URL of the analysis.this
public CfnAnalysisProps.Builder awsAccountId(java.lang.String awsAccountId)
CfnAnalysisProps.getAwsAccountId()
awsAccountId
- The ID of the AWS account where you are creating an analysis. This parameter is required.this
public CfnAnalysisProps.Builder sourceEntity(CfnAnalysis.AnalysisSourceEntityProperty sourceEntity)
CfnAnalysisProps.getSourceEntity()
sourceEntity
- A source entity to use for the analysis that you're creating. This parameter is required.
This metadata structure contains details that describe a source template and one or more datasets.this
public CfnAnalysisProps.Builder sourceEntity(IResolvable sourceEntity)
CfnAnalysisProps.getSourceEntity()
sourceEntity
- A source entity to use for the analysis that you're creating. This parameter is required.
This metadata structure contains details that describe a source template and one or more datasets.this
public CfnAnalysisProps.Builder errors(IResolvable errors)
CfnAnalysisProps.getErrors()
errors
- `AWS::QuickSight::Analysis.Errors`.this
public CfnAnalysisProps.Builder errors(java.util.List<? extends java.lang.Object> errors)
CfnAnalysisProps.getErrors()
errors
- `AWS::QuickSight::Analysis.Errors`.this
public CfnAnalysisProps.Builder name(java.lang.String name)
CfnAnalysisProps.getName()
name
- A descriptive name for the analysis that you're creating.
This name displays for the analysis in the Amazon QuickSight console.this
public CfnAnalysisProps.Builder parameters(IResolvable parameters)
CfnAnalysisProps.getParameters()
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.this
public CfnAnalysisProps.Builder parameters(CfnAnalysis.ParametersProperty parameters)
CfnAnalysisProps.getParameters()
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.this
public CfnAnalysisProps.Builder permissions(IResolvable permissions)
CfnAnalysisProps.getPermissions()
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
.
this
public CfnAnalysisProps.Builder permissions(java.util.List<? extends java.lang.Object> permissions)
CfnAnalysisProps.getPermissions()
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
.
this
public CfnAnalysisProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnAnalysisProps.getTags()
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.this
public CfnAnalysisProps.Builder themeArn(java.lang.String themeArn)
CfnAnalysisProps.getThemeArn()
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.this
public CfnAnalysisProps build()
CfnAnalysisProps
java.lang.NullPointerException
- if any required attribute was not provided