Struct aws_sdk_appsync::operation::get_data_source_introspection::builders::GetDataSourceIntrospectionFluentBuilder
source · pub struct GetDataSourceIntrospectionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetDataSourceIntrospection
.
Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.
Implementations§
source§impl GetDataSourceIntrospectionFluentBuilder
impl GetDataSourceIntrospectionFluentBuilder
sourcepub fn as_input(&self) -> &GetDataSourceIntrospectionInputBuilder
pub fn as_input(&self) -> &GetDataSourceIntrospectionInputBuilder
Access the GetDataSourceIntrospection as a reference.
sourcepub async fn send(
self
) -> Result<GetDataSourceIntrospectionOutput, SdkError<GetDataSourceIntrospectionError, HttpResponse>>
pub async fn send( self ) -> Result<GetDataSourceIntrospectionOutput, SdkError<GetDataSourceIntrospectionError, 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<GetDataSourceIntrospectionOutput, GetDataSourceIntrospectionError, Self>
pub fn customize( self ) -> CustomizableOperation<GetDataSourceIntrospectionOutput, GetDataSourceIntrospectionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn introspection_id(self, input: impl Into<String>) -> Self
pub fn introspection_id(self, input: impl Into<String>) -> Self
The introspection ID. Each introspection contains a unique ID that can be used to reference the instrospection record.
sourcepub fn set_introspection_id(self, input: Option<String>) -> Self
pub fn set_introspection_id(self, input: Option<String>) -> Self
The introspection ID. Each introspection contains a unique ID that can be used to reference the instrospection record.
sourcepub fn get_introspection_id(&self) -> &Option<String>
pub fn get_introspection_id(&self) -> &Option<String>
The introspection ID. Each introspection contains a unique ID that can be used to reference the instrospection record.
sourcepub fn include_models_sdl(self, input: bool) -> Self
pub fn include_models_sdl(self, input: bool) -> Self
A boolean flag that determines whether SDL should be generated for introspected types or not. If set to true
, each model will contain an sdl
property that contains the SDL for that type. The SDL only contains the type data and no additional metadata or directives.
sourcepub fn set_include_models_sdl(self, input: Option<bool>) -> Self
pub fn set_include_models_sdl(self, input: Option<bool>) -> Self
A boolean flag that determines whether SDL should be generated for introspected types or not. If set to true
, each model will contain an sdl
property that contains the SDL for that type. The SDL only contains the type data and no additional metadata or directives.
sourcepub fn get_include_models_sdl(&self) -> &Option<bool>
pub fn get_include_models_sdl(&self) -> &Option<bool>
A boolean flag that determines whether SDL should be generated for introspected types or not. If set to true
, each model will contain an sdl
property that contains the SDL for that type. The SDL only contains the type data and no additional metadata or directives.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Determines the number of types to be returned in a single response before paginating. This value is typically taken from nextToken
value from the previous response.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Determines the number of types to be returned in a single response before paginating. This value is typically taken from nextToken
value from the previous response.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Determines the number of types to be returned in a single response before paginating. This value is typically taken from nextToken
value from the previous response.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of introspected types that will be returned in a single response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of introspected types that will be returned in a single response.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of introspected types that will be returned in a single response.
Trait Implementations§
source§impl Clone for GetDataSourceIntrospectionFluentBuilder
impl Clone for GetDataSourceIntrospectionFluentBuilder
source§fn clone(&self) -> GetDataSourceIntrospectionFluentBuilder
fn clone(&self) -> GetDataSourceIntrospectionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more