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.Builder
storedQuery
(Consumer<StoredQuery.Builder> storedQuery) A list ofStoredQuery
objects.storedQuery
(StoredQuery storedQuery) A list ofStoredQuery
objects.tags
(Collection<Tag> tags) A list ofTags
object.tags
(Consumer<Tag.Builder>... tags) A list ofTags
object.A list ofTags
object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
storedQuery
A list of
StoredQuery
objects. The mandatory fields areQueryName
andExpression
.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 ofStoredQuery
objects. The mandatory fields areQueryName
andExpression
.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
StoredQuery
objects. The mandatory fields areQueryName
andExpression
.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.
StoredQuery.Builder
avoiding the need to create one manually viaStoredQuery.builder()
.When the
Consumer
completes,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
Tags
object.- Parameters:
tags
- A list ofTags
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of
Tags
object.- Parameters:
tags
- A list ofTags
object.- 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 theTags
object.Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-