Interface CreateAnalysisRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAnalysisRequest.Builder,CreateAnalysisRequest>,QuickSightRequest.Builder,SdkBuilder<CreateAnalysisRequest.Builder,CreateAnalysisRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAnalysisRequest
@Mutable @NotThreadSafe 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.BuilderanalysisId(String analysisId)The ID for the analysis that you're creating.CreateAnalysisRequest.BuilderawsAccountId(String awsAccountId)The ID of the Amazon Web Services account where you are creating an analysis.default CreateAnalysisRequest.Builderdefinition(Consumer<AnalysisDefinition.Builder> definition)The definition of an analysis.CreateAnalysisRequest.Builderdefinition(AnalysisDefinition definition)The definition of an analysis.CreateAnalysisRequest.BuilderfolderArns(String... folderArns)When you create the analysis, QuickSight adds the analysis to these folders.CreateAnalysisRequest.BuilderfolderArns(Collection<String> folderArns)When you create the analysis, QuickSight adds the analysis to these folders.CreateAnalysisRequest.Buildername(String name)A descriptive name for the analysis that you're creating.CreateAnalysisRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAnalysisRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateAnalysisRequest.Builderparameters(Consumer<Parameters.Builder> parameters)The parameter names and override values that you want to use.CreateAnalysisRequest.Builderparameters(Parameters parameters)The parameter names and override values that you want to use.CreateAnalysisRequest.Builderpermissions(Collection<ResourcePermission> permissions)A structure that describes the principals and the resource-level permissions on an analysis.CreateAnalysisRequest.Builderpermissions(Consumer<ResourcePermission.Builder>... permissions)A structure that describes the principals and the resource-level permissions on an analysis.CreateAnalysisRequest.Builderpermissions(ResourcePermission... permissions)A structure that describes the principals and the resource-level permissions on an analysis.default CreateAnalysisRequest.BuildersourceEntity(Consumer<AnalysisSourceEntity.Builder> sourceEntity)A source entity to use for the analysis that you're creating.CreateAnalysisRequest.BuildersourceEntity(AnalysisSourceEntity sourceEntity)A source entity to use for the analysis that you're creating.CreateAnalysisRequest.Buildertags(Collection<Tag> tags)Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.CreateAnalysisRequest.Buildertags(Consumer<Tag.Builder>... tags)Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.CreateAnalysisRequest.Buildertags(Tag... tags)Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.CreateAnalysisRequest.BuilderthemeArn(String themeArn)The ARN for the theme to apply to the analysis that you're creating.default CreateAnalysisRequest.BuildervalidationStrategy(Consumer<ValidationStrategy.Builder> validationStrategy)The option to relax the validation needed to create an analysis with definition objects.CreateAnalysisRequest.BuildervalidationStrategy(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, sdkFieldNameToField, 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 QuickSight console.
- Parameters:
name- A descriptive name for the analysis that you're creating. This name displays for the analysis in the 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.Builderavoiding the need to create one manually viaParameters.builder().When the
Consumercompletes,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
Permissionsstructure 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 thePermissionsstructure 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
Permissionsstructure 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 thePermissionsstructure 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
Permissionsstructure 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.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,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
SourceEntityor aDefinitionmust 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
SourceEntityor aDefinitionmust 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 theSourceEntityor aDefinitionmust be provided in order for the request to be valid.AnalysisSourceEntity.Builderavoiding the need to create one manually viaAnalysisSourceEntity.builder().When the
Consumercompletes,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 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 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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
SourceEntityor aDefinitionmust 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
SourceEntityor aDefinitionmust 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 theSourceEntityor aDefinitionmust be provided in order for the request to be valid.AnalysisDefinition.Builderavoiding the need to create one manually viaAnalysisDefinition.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaValidationStrategy.builder().When the
Consumercompletes,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, QuickSight adds the analysis to these folders.
- Parameters:
folderArns- When you create the analysis, 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, QuickSight adds the analysis to these folders.
- Parameters:
folderArns- When you create the analysis, 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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAnalysisRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-