Struct aws_sdk_appsync::operation::get_data_source_introspection::builders::GetDataSourceIntrospectionOutputBuilder
source · #[non_exhaustive]pub struct GetDataSourceIntrospectionOutputBuilder { /* private fields */ }
Expand description
A builder for GetDataSourceIntrospectionOutput
.
Implementations§
source§impl GetDataSourceIntrospectionOutputBuilder
impl GetDataSourceIntrospectionOutputBuilder
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 retrieval. By default, when a new instrospection is being retrieved, 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 retrieval. By default, when a new instrospection is being retrieved, 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 retrieval. By default, when a new instrospection is being retrieved, 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 introspection_result(self, input: DataSourceIntrospectionResult) -> Self
pub fn introspection_result(self, input: DataSourceIntrospectionResult) -> Self
The DataSourceIntrospectionResult
object data.
sourcepub fn set_introspection_result(
self,
input: Option<DataSourceIntrospectionResult>,
) -> Self
pub fn set_introspection_result( self, input: Option<DataSourceIntrospectionResult>, ) -> Self
The DataSourceIntrospectionResult
object data.
sourcepub fn get_introspection_result(&self) -> &Option<DataSourceIntrospectionResult>
pub fn get_introspection_result(&self) -> &Option<DataSourceIntrospectionResult>
The DataSourceIntrospectionResult
object data.
sourcepub fn build(self) -> GetDataSourceIntrospectionOutput
pub fn build(self) -> GetDataSourceIntrospectionOutput
Consumes the builder and constructs a GetDataSourceIntrospectionOutput
.
Trait Implementations§
source§impl Clone for GetDataSourceIntrospectionOutputBuilder
impl Clone for GetDataSourceIntrospectionOutputBuilder
source§fn clone(&self) -> GetDataSourceIntrospectionOutputBuilder
fn clone(&self) -> GetDataSourceIntrospectionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetDataSourceIntrospectionOutputBuilder
impl Default for GetDataSourceIntrospectionOutputBuilder
source§fn default() -> GetDataSourceIntrospectionOutputBuilder
fn default() -> GetDataSourceIntrospectionOutputBuilder
source§impl PartialEq for GetDataSourceIntrospectionOutputBuilder
impl PartialEq for GetDataSourceIntrospectionOutputBuilder
source§fn eq(&self, other: &GetDataSourceIntrospectionOutputBuilder) -> bool
fn eq(&self, other: &GetDataSourceIntrospectionOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetDataSourceIntrospectionOutputBuilder
Auto Trait Implementations§
impl Freeze for GetDataSourceIntrospectionOutputBuilder
impl RefUnwindSafe for GetDataSourceIntrospectionOutputBuilder
impl Send for GetDataSourceIntrospectionOutputBuilder
impl Sync for GetDataSourceIntrospectionOutputBuilder
impl Unpin for GetDataSourceIntrospectionOutputBuilder
impl UnwindSafe for GetDataSourceIntrospectionOutputBuilder
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