Struct aws_sdk_appsync::operation::get_data_source_introspection::builders::GetDataSourceIntrospectionInputBuilder
source · #[non_exhaustive]pub struct GetDataSourceIntrospectionInputBuilder { /* private fields */ }
Expand description
A builder for GetDataSourceIntrospectionInput
.
Implementations§
source§impl GetDataSourceIntrospectionInputBuilder
impl GetDataSourceIntrospectionInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<GetDataSourceIntrospectionInput, BuildError>
pub fn build(self) -> Result<GetDataSourceIntrospectionInput, BuildError>
Consumes the builder and constructs a GetDataSourceIntrospectionInput
.
source§impl GetDataSourceIntrospectionInputBuilder
impl GetDataSourceIntrospectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetDataSourceIntrospectionOutput, SdkError<GetDataSourceIntrospectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetDataSourceIntrospectionOutput, SdkError<GetDataSourceIntrospectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDataSourceIntrospectionInputBuilder
impl Clone for GetDataSourceIntrospectionInputBuilder
source§fn clone(&self) -> GetDataSourceIntrospectionInputBuilder
fn clone(&self) -> GetDataSourceIntrospectionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetDataSourceIntrospectionInputBuilder
impl Default for GetDataSourceIntrospectionInputBuilder
source§fn default() -> GetDataSourceIntrospectionInputBuilder
fn default() -> GetDataSourceIntrospectionInputBuilder
source§impl PartialEq for GetDataSourceIntrospectionInputBuilder
impl PartialEq for GetDataSourceIntrospectionInputBuilder
source§fn eq(&self, other: &GetDataSourceIntrospectionInputBuilder) -> bool
fn eq(&self, other: &GetDataSourceIntrospectionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.