pub struct QueryObjectsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to QueryObjects
.
Queries the specified pipeline for the names of objects that match the specified set of conditions.
Implementations§
source§impl QueryObjectsFluentBuilder
impl QueryObjectsFluentBuilder
sourcepub fn as_input(&self) -> &QueryObjectsInputBuilder
pub fn as_input(&self) -> &QueryObjectsInputBuilder
Access the QueryObjects as a reference.
sourcepub async fn send(
self
) -> Result<QueryObjectsOutput, SdkError<QueryObjectsError, HttpResponse>>
pub async fn send( self ) -> Result<QueryObjectsOutput, SdkError<QueryObjectsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<QueryObjectsOutput, QueryObjectsError, Self>
pub fn customize( self ) -> CustomizableOperation<QueryObjectsOutput, QueryObjectsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> QueryObjectsPaginator
pub fn into_paginator(self) -> QueryObjectsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn pipeline_id(self, input: impl Into<String>) -> Self
pub fn pipeline_id(self, input: impl Into<String>) -> Self
The ID of the pipeline.
sourcepub fn set_pipeline_id(self, input: Option<String>) -> Self
pub fn set_pipeline_id(self, input: Option<String>) -> Self
The ID of the pipeline.
sourcepub fn get_pipeline_id(&self) -> &Option<String>
pub fn get_pipeline_id(&self) -> &Option<String>
The ID of the pipeline.
sourcepub fn query(self, input: Query) -> Self
pub fn query(self, input: Query) -> Self
The query that defines the objects to be returned. The Query
object can contain a maximum of ten selectors. The conditions in the query are limited to top-level String fields in the object. These filters can be applied to components, instances, and attempts.
sourcepub fn set_query(self, input: Option<Query>) -> Self
pub fn set_query(self, input: Option<Query>) -> Self
The query that defines the objects to be returned. The Query
object can contain a maximum of ten selectors. The conditions in the query are limited to top-level String fields in the object. These filters can be applied to components, instances, and attempts.
sourcepub fn get_query(&self) -> &Option<Query>
pub fn get_query(&self) -> &Option<Query>
The query that defines the objects to be returned. The Query
object can contain a maximum of ten selectors. The conditions in the query are limited to top-level String fields in the object. These filters can be applied to components, instances, and attempts.
sourcepub fn sphere(self, input: impl Into<String>) -> Self
pub fn sphere(self, input: impl Into<String>) -> Self
Indicates whether the query applies to components or instances. The possible values are: COMPONENT
, INSTANCE
, and ATTEMPT
.
sourcepub fn set_sphere(self, input: Option<String>) -> Self
pub fn set_sphere(self, input: Option<String>) -> Self
Indicates whether the query applies to components or instances. The possible values are: COMPONENT
, INSTANCE
, and ATTEMPT
.
sourcepub fn get_sphere(&self) -> &Option<String>
pub fn get_sphere(&self) -> &Option<String>
Indicates whether the query applies to components or instances. The possible values are: COMPONENT
, INSTANCE
, and ATTEMPT
.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call QueryObjects
with the marker value from the previous call to retrieve the next set of results.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call QueryObjects
with the marker value from the previous call to retrieve the next set of results.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call QueryObjects
with the marker value from the previous call to retrieve the next set of results.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The maximum number of object names that QueryObjects
will return in a single call. The default value is 100.
Trait Implementations§
source§impl Clone for QueryObjectsFluentBuilder
impl Clone for QueryObjectsFluentBuilder
source§fn clone(&self) -> QueryObjectsFluentBuilder
fn clone(&self) -> QueryObjectsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more