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 ==
.impl StructuralPartialEq for GetDataSourceIntrospectionInputBuilder
Auto Trait Implementations§
impl Freeze for GetDataSourceIntrospectionInputBuilder
impl RefUnwindSafe for GetDataSourceIntrospectionInputBuilder
impl Send for GetDataSourceIntrospectionInputBuilder
impl Sync for GetDataSourceIntrospectionInputBuilder
impl Unpin for GetDataSourceIntrospectionInputBuilder
impl UnwindSafe for GetDataSourceIntrospectionInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more