Interface CreateAnalysisRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAnalysisRequest.Builder,
,CreateAnalysisRequest> QuickSightRequest.Builder
,SdkBuilder<CreateAnalysisRequest.Builder,
,CreateAnalysisRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAnalysisRequest
-
Method Summary
Modifier and TypeMethodDescriptionanalysisId
(String analysisId) The ID for the analysis that you're creating.awsAccountId
(String awsAccountId) The ID of the Amazon Web Services account where you are creating an analysis.default CreateAnalysisRequest.Builder
definition
(Consumer<AnalysisDefinition.Builder> definition) The definition of an analysis.definition
(AnalysisDefinition definition) The definition of an analysis.folderArns
(String... folderArns) When you create the analysis, Amazon QuickSight adds the analysis to these folders.folderArns
(Collection<String> folderArns) When you create the analysis, Amazon QuickSight adds the analysis to these folders.A descriptive name for the analysis that you're creating.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateAnalysisRequest.Builder
parameters
(Consumer<Parameters.Builder> parameters) The parameter names and override values that you want to use.parameters
(Parameters parameters) The parameter names and override values that you want to use.permissions
(Collection<ResourcePermission> permissions) A structure that describes the principals and the resource-level permissions on an analysis.permissions
(Consumer<ResourcePermission.Builder>... permissions) A structure that describes the principals and the resource-level permissions on an analysis.permissions
(ResourcePermission... permissions) A structure that describes the principals and the resource-level permissions on an analysis.default CreateAnalysisRequest.Builder
sourceEntity
(Consumer<AnalysisSourceEntity.Builder> sourceEntity) A source entity to use for the analysis that you're creating.sourceEntity
(AnalysisSourceEntity sourceEntity) A source entity to use for the analysis that you're creating.tags
(Collection<Tag> tags) Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.tags
(Consumer<Tag.Builder>... tags) Contains a map of the key-value pairs for the resource tag or tags assigned to 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.default CreateAnalysisRequest.Builder
validationStrategy
(Consumer<ValidationStrategy.Builder> validationStrategy) The option to relax the validation needed to create an analysis with definition objects.validationStrategy
(ValidationStrategy validationStrategy) The option to relax the validation needed to create an analysis with definition objects.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
awsAccountId
The ID of the Amazon Web Services account where you are creating an analysis.
- Parameters:
awsAccountId
- The ID of the Amazon Web Services account where you are creating an analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 ID displays in the URL of the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 name displays for the analysis in the Amazon QuickSight console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. An analysis can have any parameter type, and some parameters might accept multiple values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 is a convenience method that creates an instance of theParameters.Builder
avoiding the need to create one manually viaParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(Parameters)
.- Parameters:
parameters
- a consumer that will call methods onParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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 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. You can use thePermissions
structure to grant permissions by providing a list of Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).To specify no permissions, omit
Permissions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 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. You can use thePermissions
structure to grant permissions by providing a list of Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).To specify no permissions, omit
Permissions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).To specify no permissions, omit
This is a convenience method that creates an instance of thePermissions
.ResourcePermission.Builder
avoiding the need to create one manually viaResourcePermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topermissions(List<ResourcePermission>)
.- Parameters:
permissions
- a consumer that will call methods onResourcePermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEntity
default CreateAnalysisRequest.Builder sourceEntity(Consumer<AnalysisSourceEntity.Builder> 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
This is a convenience method that creates an instance of theSourceEntity
or aDefinition
must be provided in order for the request to be valid.AnalysisSourceEntity.Builder
avoiding the need to create one manually viaAnalysisSourceEntity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceEntity(AnalysisSourceEntity)
.- Parameters:
sourceEntity
- a consumer that will call methods onAnalysisSourceEntity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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. To see the theme in the Amazon QuickSight console, make sure that you have access to it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
definition
The definition of an analysis.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a
SourceEntity
or aDefinition
must be provided in order for the request to be valid.- Parameters:
definition
- The definition of an analysis.A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a
SourceEntity
or aDefinition
must be provided in order for the request to be valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The definition of an analysis.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a
This is a convenience method that creates an instance of theSourceEntity
or aDefinition
must be provided in order for the request to be valid.AnalysisDefinition.Builder
avoiding the need to create one manually viaAnalysisDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(AnalysisDefinition)
.- Parameters:
definition
- a consumer that will call methods onAnalysisDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validationStrategy
The option to relax the validation needed to create an analysis with definition objects. This skips the validation step for specific errors.
- Parameters:
validationStrategy
- The option to relax the validation needed to create an analysis with definition objects. This skips the validation step for specific errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationStrategy
default CreateAnalysisRequest.Builder validationStrategy(Consumer<ValidationStrategy.Builder> validationStrategy) The option to relax the validation needed to create an analysis with definition objects. This skips the validation step for specific errors.
This is a convenience method that creates an instance of theValidationStrategy.Builder
avoiding the need to create one manually viaValidationStrategy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidationStrategy(ValidationStrategy)
.- Parameters:
validationStrategy
- a consumer that will call methods onValidationStrategy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
folderArns
When you create the analysis, Amazon QuickSight adds the analysis to these folders.
- Parameters:
folderArns
- When you create the analysis, Amazon QuickSight adds the analysis to these folders.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folderArns
When you create the analysis, Amazon QuickSight adds the analysis to these folders.
- Parameters:
folderArns
- When you create the analysis, Amazon QuickSight adds the analysis to these folders.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAnalysisRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAnalysisRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-