Interface GenerateQueryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudTrailRequest.Builder,CopyableBuilder<GenerateQueryRequest.Builder,,GenerateQueryRequest> SdkBuilder<GenerateQueryRequest.Builder,,GenerateQueryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GenerateQueryRequest
@Mutable
@NotThreadSafe
public static interface GenerateQueryRequest.Builder
extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<GenerateQueryRequest.Builder,GenerateQueryRequest>
-
Method Summary
Modifier and TypeMethodDescriptioneventDataStores(String... eventDataStores) The ARN (or ID suffix of the ARN) of the event data store that you want to query.eventDataStores(Collection<String> eventDataStores) The ARN (or ID suffix of the ARN) of the event data store that you want to query.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The prompt that you want to use to generate the query.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
eventDataStores
The ARN (or ID suffix of the ARN) of the event data store that you want to query. You can only specify one event data store.
- Parameters:
eventDataStores- The ARN (or ID suffix of the ARN) of the event data store that you want to query. You can only specify one event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDataStores
The ARN (or ID suffix of the ARN) of the event data store that you want to query. You can only specify one event data store.
- Parameters:
eventDataStores- The ARN (or ID suffix of the ARN) of the event data store that you want to query. You can only specify one event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prompt
The prompt that you want to use to generate the query. The prompt must be in English. For example prompts, see Example prompts in the CloudTrail user guide.
- Parameters:
prompt- The prompt that you want to use to generate the query. The prompt must be in English. For example prompts, see Example prompts in the CloudTrail user guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GenerateQueryRequest.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
GenerateQueryRequest.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.
-