Interface StartCalculationExecutionRequest.Builder
- All Superinterfaces:
AthenaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<StartCalculationExecutionRequest.Builder,,StartCalculationExecutionRequest> SdkBuilder<StartCalculationExecutionRequest.Builder,,StartCalculationExecutionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartCalculationExecutionRequest
-
Method Summary
Modifier and TypeMethodDescriptioncalculationConfiguration(Consumer<CalculationConfiguration.Builder> calculationConfiguration) Deprecated.Kepler Post GA Tasks : https://sim.amazon.com/issues/ATHENA-39828calculationConfiguration(CalculationConfiguration calculationConfiguration) Deprecated.Kepler Post GA Tasks : https://sim.amazon.com/issues/ATHENA-39828clientRequestToken(String clientRequestToken) A unique case-sensitive string used to ensure the request to create the calculation is idempotent (executes only once).A string that contains the code of the calculation.description(String description) A description of the calculation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The session ID.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sessionId
The session ID.
- Parameters:
sessionId- The session ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the calculation.
- Parameters:
description- A description of the calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
calculationConfiguration
@Deprecated StartCalculationExecutionRequest.Builder calculationConfiguration(CalculationConfiguration calculationConfiguration) Deprecated.Kepler Post GA Tasks : https://sim.amazon.com/issues/ATHENA-39828Contains configuration information for the calculation.
- Parameters:
calculationConfiguration- Contains configuration information for the calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
calculationConfiguration
@Deprecated default StartCalculationExecutionRequest.Builder calculationConfiguration(Consumer<CalculationConfiguration.Builder> calculationConfiguration) Deprecated.Kepler Post GA Tasks : https://sim.amazon.com/issues/ATHENA-39828Contains configuration information for the calculation.
This is a convenience method that creates an instance of theCalculationConfiguration.Builderavoiding the need to create one manually viaCalculationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocalculationConfiguration(CalculationConfiguration).- Parameters:
calculationConfiguration- a consumer that will call methods onCalculationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeBlock
A string that contains the code of the calculation. Use this parameter instead of CalculationConfiguration$CodeBlock, which is deprecated.
- Parameters:
codeBlock- A string that contains the code of the calculation. Use this parameter instead of CalculationConfiguration$CodeBlock, which is deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
A unique case-sensitive string used to ensure the request to create the calculation is idempotent (executes only once). If another
StartCalculationExecutionRequestis received, the same response is returned and another calculation is not created. If a parameter has changed, an error is returned.This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
- Parameters:
clientRequestToken- A unique case-sensitive string used to ensure the request to create the calculation is idempotent (executes only once). If anotherStartCalculationExecutionRequestis received, the same response is returned and another calculation is not created. If a parameter has changed, an error is returned.This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartCalculationExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartCalculationExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-