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 ==
.