Interface CreateAnalysisRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAnalysisRequest.Builder,CreateAnalysisRequest>
,QuickSightRequest.Builder
,SdkBuilder<CreateAnalysisRequest.Builder,CreateAnalysisRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateAnalysisRequest
public static interface CreateAnalysisRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<CreateAnalysisRequest.Builder,CreateAnalysisRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateAnalysisRequest.Builder
analysisId(String analysisId)
The ID for the analysis that you're creating.CreateAnalysisRequest.Builder
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.CreateAnalysisRequest.Builder
definition(AnalysisDefinition definition)
The definition of an analysis.CreateAnalysisRequest.Builder
folderArns(String... folderArns)
When you create the analysis, Amazon QuickSight adds the analysis to these folders.CreateAnalysisRequest.Builder
folderArns(Collection<String> folderArns)
When you create the analysis, Amazon QuickSight adds the analysis to these folders.CreateAnalysisRequest.Builder
name(String name)
A descriptive name for the analysis that you're creating.CreateAnalysisRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateAnalysisRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
default CreateAnalysisRequest.Builder
parameters(Consumer<Parameters.Builder> parameters)
The parameter names and override values that you want to use.CreateAnalysisRequest.Builder
parameters(Parameters parameters)
The parameter names and override values that you want to use.CreateAnalysisRequest.Builder
permissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions on an analysis.CreateAnalysisRequest.Builder
permissions(Consumer<ResourcePermission.Builder>... permissions)
A structure that describes the principals and the resource-level permissions on an analysis.CreateAnalysisRequest.Builder
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.CreateAnalysisRequest.Builder
sourceEntity(AnalysisSourceEntity sourceEntity)
A source entity to use for the analysis that you're creating.CreateAnalysisRequest.Builder
tags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.CreateAnalysisRequest.Builder
tags(Consumer<Tag.Builder>... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.CreateAnalysisRequest.Builder
tags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.CreateAnalysisRequest.Builder
themeArn(String themeArn)
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.CreateAnalysisRequest.Builder
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 Detail
-
awsAccountId
CreateAnalysisRequest.Builder awsAccountId(String 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
CreateAnalysisRequest.Builder analysisId(String 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
CreateAnalysisRequest.Builder name(String 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
CreateAnalysisRequest.Builder parameters(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.
- 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
default CreateAnalysisRequest.Builder parameters(Consumer<Parameters.Builder> 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:
parameters(Parameters)
-
permissions
CreateAnalysisRequest.Builder permissions(Collection<ResourcePermission> 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
CreateAnalysisRequest.Builder permissions(ResourcePermission... 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
CreateAnalysisRequest.Builder permissions(Consumer<ResourcePermission.Builder>... 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 to#permissions(List
.) - 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:
#permissions(java.util.Collection
)
-
sourceEntity
CreateAnalysisRequest.Builder sourceEntity(AnalysisSourceEntity 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:
sourceEntity(AnalysisSourceEntity)
-
themeArn
CreateAnalysisRequest.Builder themeArn(String 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
CreateAnalysisRequest.Builder tags(Collection<Tag> 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
CreateAnalysisRequest.Builder tags(Tag... 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
CreateAnalysisRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
definition
CreateAnalysisRequest.Builder definition(AnalysisDefinition 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
default CreateAnalysisRequest.Builder definition(Consumer<AnalysisDefinition.Builder> 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:
definition(AnalysisDefinition)
-
validationStrategy
CreateAnalysisRequest.Builder validationStrategy(ValidationStrategy 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:
validationStrategy(ValidationStrategy)
-
folderArns
CreateAnalysisRequest.Builder folderArns(Collection<String> 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
CreateAnalysisRequest.Builder folderArns(String... 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAnalysisRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-