Interface GenerateQueryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<GenerateQueryResponse.Builder,,GenerateQueryResponse> SdkBuilder<GenerateQueryResponse.Builder,,GenerateQueryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GenerateQueryResponse
public static interface GenerateQueryResponse.Builder
extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<GenerateQueryResponse.Builder,GenerateQueryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionqueryAlias(String queryAlias) An alias that identifies the prompt.queryStatement(String queryStatement) The SQL query statement generated from the prompt.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
queryStatement
The SQL query statement generated from the prompt.
- Parameters:
queryStatement- The SQL query statement generated from the prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryAlias
An alias that identifies the prompt. When you run the
StartQueryoperation, you can pass in either theQueryAliasorQueryStatementparameter.- Parameters:
queryAlias- An alias that identifies the prompt. When you run theStartQueryoperation, you can pass in either theQueryAliasorQueryStatementparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-