#[non_exhaustive]pub struct SapoDataDestinationPropertiesBuilder { /* private fields */ }
Expand description
A builder for SapoDataDestinationProperties
.
Implementations§
source§impl SapoDataDestinationPropertiesBuilder
impl SapoDataDestinationPropertiesBuilder
sourcepub fn object_path(self, input: impl Into<String>) -> Self
pub fn object_path(self, input: impl Into<String>) -> Self
The object path specified in the SAPOData flow destination.
This field is required.sourcepub fn set_object_path(self, input: Option<String>) -> Self
pub fn set_object_path(self, input: Option<String>) -> Self
The object path specified in the SAPOData flow destination.
sourcepub fn get_object_path(&self) -> &Option<String>
pub fn get_object_path(&self) -> &Option<String>
The object path specified in the SAPOData flow destination.
sourcepub fn success_response_handling_config(
self,
input: SuccessResponseHandlingConfig
) -> Self
pub fn success_response_handling_config( self, input: SuccessResponseHandlingConfig ) -> Self
Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data.
For example, this setting would determine where to write the response from a destination connector upon a successful insert operation.
sourcepub fn set_success_response_handling_config(
self,
input: Option<SuccessResponseHandlingConfig>
) -> Self
pub fn set_success_response_handling_config( self, input: Option<SuccessResponseHandlingConfig> ) -> Self
Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data.
For example, this setting would determine where to write the response from a destination connector upon a successful insert operation.
sourcepub fn get_success_response_handling_config(
&self
) -> &Option<SuccessResponseHandlingConfig>
pub fn get_success_response_handling_config( &self ) -> &Option<SuccessResponseHandlingConfig>
Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data.
For example, this setting would determine where to write the response from a destination connector upon a successful insert operation.
sourcepub fn id_field_names(self, input: impl Into<String>) -> Self
pub fn id_field_names(self, input: impl Into<String>) -> Self
Appends an item to id_field_names
.
To override the contents of this collection use set_id_field_names
.
A list of field names that can be used as an ID field when performing a write operation.
sourcepub fn set_id_field_names(self, input: Option<Vec<String>>) -> Self
pub fn set_id_field_names(self, input: Option<Vec<String>>) -> Self
A list of field names that can be used as an ID field when performing a write operation.
sourcepub fn get_id_field_names(&self) -> &Option<Vec<String>>
pub fn get_id_field_names(&self) -> &Option<Vec<String>>
A list of field names that can be used as an ID field when performing a write operation.
sourcepub fn error_handling_config(self, input: ErrorHandlingConfig) -> Self
pub fn error_handling_config(self, input: ErrorHandlingConfig) -> Self
The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
sourcepub fn set_error_handling_config(
self,
input: Option<ErrorHandlingConfig>
) -> Self
pub fn set_error_handling_config( self, input: Option<ErrorHandlingConfig> ) -> Self
The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
sourcepub fn get_error_handling_config(&self) -> &Option<ErrorHandlingConfig>
pub fn get_error_handling_config(&self) -> &Option<ErrorHandlingConfig>
The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
sourcepub fn write_operation_type(self, input: WriteOperationType) -> Self
pub fn write_operation_type(self, input: WriteOperationType) -> Self
The possible write operations in the destination connector. When this value is not provided, this defaults to the INSERT
operation.
sourcepub fn set_write_operation_type(self, input: Option<WriteOperationType>) -> Self
pub fn set_write_operation_type(self, input: Option<WriteOperationType>) -> Self
The possible write operations in the destination connector. When this value is not provided, this defaults to the INSERT
operation.
sourcepub fn get_write_operation_type(&self) -> &Option<WriteOperationType>
pub fn get_write_operation_type(&self) -> &Option<WriteOperationType>
The possible write operations in the destination connector. When this value is not provided, this defaults to the INSERT
operation.
sourcepub fn build(self) -> Result<SapoDataDestinationProperties, BuildError>
pub fn build(self) -> Result<SapoDataDestinationProperties, BuildError>
Consumes the builder and constructs a SapoDataDestinationProperties
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SapoDataDestinationPropertiesBuilder
impl Clone for SapoDataDestinationPropertiesBuilder
source§fn clone(&self) -> SapoDataDestinationPropertiesBuilder
fn clone(&self) -> SapoDataDestinationPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SapoDataDestinationPropertiesBuilder
impl Default for SapoDataDestinationPropertiesBuilder
source§fn default() -> SapoDataDestinationPropertiesBuilder
fn default() -> SapoDataDestinationPropertiesBuilder
source§impl PartialEq for SapoDataDestinationPropertiesBuilder
impl PartialEq for SapoDataDestinationPropertiesBuilder
source§fn eq(&self, other: &SapoDataDestinationPropertiesBuilder) -> bool
fn eq(&self, other: &SapoDataDestinationPropertiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.