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