Struct aws_sdk_appsync::operation::start_data_source_introspection::builders::StartDataSourceIntrospectionOutputBuilder
source · #[non_exhaustive]pub struct StartDataSourceIntrospectionOutputBuilder { /* private fields */ }
Expand description
A builder for StartDataSourceIntrospectionOutput
.
Implementations§
source§impl StartDataSourceIntrospectionOutputBuilder
impl StartDataSourceIntrospectionOutputBuilder
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 introspection_status(self, input: DataSourceIntrospectionStatus) -> Self
pub fn introspection_status(self, input: DataSourceIntrospectionStatus) -> Self
The status of the introspection during creation. By default, when a new instrospection has been created, the status will be set to PROCESSING
. Once the operation has been completed, the status will change to SUCCESS
or FAILED
depending on how the data was parsed. A FAILED
operation will return an error and its details as an introspectionStatusDetail
.
sourcepub fn set_introspection_status(
self,
input: Option<DataSourceIntrospectionStatus>,
) -> Self
pub fn set_introspection_status( self, input: Option<DataSourceIntrospectionStatus>, ) -> Self
The status of the introspection during creation. By default, when a new instrospection has been created, the status will be set to PROCESSING
. Once the operation has been completed, the status will change to SUCCESS
or FAILED
depending on how the data was parsed. A FAILED
operation will return an error and its details as an introspectionStatusDetail
.
sourcepub fn get_introspection_status(&self) -> &Option<DataSourceIntrospectionStatus>
pub fn get_introspection_status(&self) -> &Option<DataSourceIntrospectionStatus>
The status of the introspection during creation. By default, when a new instrospection has been created, the status will be set to PROCESSING
. Once the operation has been completed, the status will change to SUCCESS
or FAILED
depending on how the data was parsed. A FAILED
operation will return an error and its details as an introspectionStatusDetail
.
sourcepub fn introspection_status_detail(self, input: impl Into<String>) -> Self
pub fn introspection_status_detail(self, input: impl Into<String>) -> Self
The error detail field. When a FAILED
introspectionStatus
is returned, the introspectionStatusDetail
will also return the exact error that was generated during the operation.
sourcepub fn set_introspection_status_detail(self, input: Option<String>) -> Self
pub fn set_introspection_status_detail(self, input: Option<String>) -> Self
The error detail field. When a FAILED
introspectionStatus
is returned, the introspectionStatusDetail
will also return the exact error that was generated during the operation.
sourcepub fn get_introspection_status_detail(&self) -> &Option<String>
pub fn get_introspection_status_detail(&self) -> &Option<String>
The error detail field. When a FAILED
introspectionStatus
is returned, the introspectionStatusDetail
will also return the exact error that was generated during the operation.
sourcepub fn build(self) -> StartDataSourceIntrospectionOutput
pub fn build(self) -> StartDataSourceIntrospectionOutput
Consumes the builder and constructs a StartDataSourceIntrospectionOutput
.
Trait Implementations§
source§impl Clone for StartDataSourceIntrospectionOutputBuilder
impl Clone for StartDataSourceIntrospectionOutputBuilder
source§fn clone(&self) -> StartDataSourceIntrospectionOutputBuilder
fn clone(&self) -> StartDataSourceIntrospectionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartDataSourceIntrospectionOutputBuilder
impl Default for StartDataSourceIntrospectionOutputBuilder
source§fn default() -> StartDataSourceIntrospectionOutputBuilder
fn default() -> StartDataSourceIntrospectionOutputBuilder
source§impl PartialEq for StartDataSourceIntrospectionOutputBuilder
impl PartialEq for StartDataSourceIntrospectionOutputBuilder
source§fn eq(&self, other: &StartDataSourceIntrospectionOutputBuilder) -> bool
fn eq(&self, other: &StartDataSourceIntrospectionOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for StartDataSourceIntrospectionOutputBuilder
Auto Trait Implementations§
impl Freeze for StartDataSourceIntrospectionOutputBuilder
impl RefUnwindSafe for StartDataSourceIntrospectionOutputBuilder
impl Send for StartDataSourceIntrospectionOutputBuilder
impl Sync for StartDataSourceIntrospectionOutputBuilder
impl Unpin for StartDataSourceIntrospectionOutputBuilder
impl UnwindSafe for StartDataSourceIntrospectionOutputBuilder
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