Interface PutStoredQueryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConfigRequest.Builder,CopyableBuilder<PutStoredQueryRequest.Builder,,PutStoredQueryRequest> SdkBuilder<PutStoredQueryRequest.Builder,,PutStoredQueryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutStoredQueryRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default PutStoredQueryRequest.BuilderstoredQuery(Consumer<StoredQuery.Builder> storedQuery) A list ofStoredQueryobjects.storedQuery(StoredQuery storedQuery) A list ofStoredQueryobjects.tags(Collection<Tag> tags) A list ofTagsobject.tags(Consumer<Tag.Builder>... tags) A list ofTagsobject.A list ofTagsobject.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.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, sdkFields
-
Method Details
-
storedQuery
A list of
StoredQueryobjects. The mandatory fields areQueryNameandExpression.When you are creating a query, you must provide a query name and an expression. When you are updating a query, you must provide a query name but updating the description is optional.
- Parameters:
storedQuery- A list ofStoredQueryobjects. The mandatory fields areQueryNameandExpression.When you are creating a query, you must provide a query name and an expression. When you are updating a query, you must provide a query name but updating the description is optional.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storedQuery
A list of
StoredQueryobjects. The mandatory fields areQueryNameandExpression. This is a convenience method that creates an instance of theWhen you are creating a query, you must provide a query name and an expression. When you are updating a query, you must provide a query name but updating the description is optional.
StoredQuery.Builderavoiding the need to create one manually viaStoredQuery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostoredQuery(StoredQuery).- Parameters:
storedQuery- a consumer that will call methods onStoredQuery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of
Tagsobject.- Parameters:
tags- A list ofTagsobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of
Tagsobject.- Parameters:
tags- A list ofTagsobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of
This is a convenience method that creates an instance of theTagsobject.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- 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:
-
overrideConfiguration
PutStoredQueryRequest.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
PutStoredQueryRequest.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.
-