Struct aws_sdk_appflow::operation::update_connector_registration::builders::UpdateConnectorRegistrationInputBuilder
source · #[non_exhaustive]pub struct UpdateConnectorRegistrationInputBuilder { /* private fields */ }Expand description
A builder for UpdateConnectorRegistrationInput.
Implementations§
source§impl UpdateConnectorRegistrationInputBuilder
impl UpdateConnectorRegistrationInputBuilder
sourcepub fn connector_label(self, input: impl Into<String>) -> Self
pub fn connector_label(self, input: impl Into<String>) -> Self
The name of the connector. The name is unique for each connector registration in your AWS account.
This field is required.sourcepub fn set_connector_label(self, input: Option<String>) -> Self
pub fn set_connector_label(self, input: Option<String>) -> Self
The name of the connector. The name is unique for each connector registration in your AWS account.
sourcepub fn get_connector_label(&self) -> &Option<String>
pub fn get_connector_label(&self) -> &Option<String>
The name of the connector. The name is unique for each connector registration in your AWS account.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description about the update that you're applying to the connector.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description about the update that you're applying to the connector.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description about the update that you're applying to the connector.
sourcepub fn connector_provisioning_config(
self,
input: ConnectorProvisioningConfig,
) -> Self
pub fn connector_provisioning_config( self, input: ConnectorProvisioningConfig, ) -> Self
Contains information about the configuration of the connector being registered.
sourcepub fn set_connector_provisioning_config(
self,
input: Option<ConnectorProvisioningConfig>,
) -> Self
pub fn set_connector_provisioning_config( self, input: Option<ConnectorProvisioningConfig>, ) -> Self
Contains information about the configuration of the connector being registered.
sourcepub fn get_connector_provisioning_config(
&self,
) -> &Option<ConnectorProvisioningConfig>
pub fn get_connector_provisioning_config( &self, ) -> &Option<ConnectorProvisioningConfig>
Contains information about the configuration of the connector being registered.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The clientToken parameter is an idempotency token. It ensures that your UpdateConnectorRegistration request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value.
If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.
If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to UpdateConnectorRegistration. The token is active for 8 hours.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The clientToken parameter is an idempotency token. It ensures that your UpdateConnectorRegistration request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value.
If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.
If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to UpdateConnectorRegistration. The token is active for 8 hours.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The clientToken parameter is an idempotency token. It ensures that your UpdateConnectorRegistration request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value.
If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.
If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to UpdateConnectorRegistration. The token is active for 8 hours.
sourcepub fn build(self) -> Result<UpdateConnectorRegistrationInput, BuildError>
pub fn build(self) -> Result<UpdateConnectorRegistrationInput, BuildError>
Consumes the builder and constructs a UpdateConnectorRegistrationInput.
source§impl UpdateConnectorRegistrationInputBuilder
impl UpdateConnectorRegistrationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateConnectorRegistrationOutput, SdkError<UpdateConnectorRegistrationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateConnectorRegistrationOutput, SdkError<UpdateConnectorRegistrationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateConnectorRegistrationInputBuilder
impl Clone for UpdateConnectorRegistrationInputBuilder
source§fn clone(&self) -> UpdateConnectorRegistrationInputBuilder
fn clone(&self) -> UpdateConnectorRegistrationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateConnectorRegistrationInputBuilder
impl Default for UpdateConnectorRegistrationInputBuilder
source§fn default() -> UpdateConnectorRegistrationInputBuilder
fn default() -> UpdateConnectorRegistrationInputBuilder
source§impl PartialEq for UpdateConnectorRegistrationInputBuilder
impl PartialEq for UpdateConnectorRegistrationInputBuilder
source§fn eq(&self, other: &UpdateConnectorRegistrationInputBuilder) -> bool
fn eq(&self, other: &UpdateConnectorRegistrationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateConnectorRegistrationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateConnectorRegistrationInputBuilder
impl RefUnwindSafe for UpdateConnectorRegistrationInputBuilder
impl Send for UpdateConnectorRegistrationInputBuilder
impl Sync for UpdateConnectorRegistrationInputBuilder
impl Unpin for UpdateConnectorRegistrationInputBuilder
impl UnwindSafe for UpdateConnectorRegistrationInputBuilder
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> 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