Struct aws_sdk_appsync::output::create_data_source_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateDataSourceOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn data_source(self, input: DataSource) -> Self
pub fn data_source(self, input: DataSource) -> Self
The DataSource
object.
sourcepub fn set_data_source(self, input: Option<DataSource>) -> Self
pub fn set_data_source(self, input: Option<DataSource>) -> Self
The DataSource
object.
sourcepub fn build(self) -> CreateDataSourceOutput
pub fn build(self) -> CreateDataSourceOutput
Consumes the builder and constructs a CreateDataSourceOutput
.