#[non_exhaustive]pub struct InboundIntegrationBuilder { /* private fields */ }Expand description
A builder for InboundIntegration.
Implementations§
Source§impl InboundIntegrationBuilder
impl InboundIntegrationBuilder
Sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
The ARN of the source resource for the integration.
This field is required.Sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
The ARN of the source resource for the integration.
Sourcepub fn get_source_arn(&self) -> &Option<String>
pub fn get_source_arn(&self) -> &Option<String>
The ARN of the source resource for the integration.
Sourcepub fn target_arn(self, input: impl Into<String>) -> Self
pub fn target_arn(self, input: impl Into<String>) -> Self
The ARN of the target resource for the integration.
This field is required.Sourcepub fn set_target_arn(self, input: Option<String>) -> Self
pub fn set_target_arn(self, input: Option<String>) -> Self
The ARN of the target resource for the integration.
Sourcepub fn get_target_arn(&self) -> &Option<String>
pub fn get_target_arn(&self) -> &Option<String>
The ARN of the target resource for the integration.
Sourcepub fn integration_arn(self, input: impl Into<String>) -> Self
pub fn integration_arn(self, input: impl Into<String>) -> Self
The ARN of the zero-ETL integration.
This field is required.Sourcepub fn set_integration_arn(self, input: Option<String>) -> Self
pub fn set_integration_arn(self, input: Option<String>) -> Self
The ARN of the zero-ETL integration.
Sourcepub fn get_integration_arn(&self) -> &Option<String>
pub fn get_integration_arn(&self) -> &Option<String>
The ARN of the zero-ETL integration.
Sourcepub fn status(self, input: IntegrationStatus) -> Self
pub fn status(self, input: IntegrationStatus) -> Self
The possible statuses are:
-
CREATING: The integration is being created.
-
ACTIVE: The integration creation succeeds.
-
MODIFYING: The integration is being modified.
-
FAILED: The integration creation fails.
-
DELETING: The integration is deleted.
-
SYNCING: The integration is synchronizing.
-
NEEDS_ATTENTION: The integration needs attention, such as synchronization.
Sourcepub fn set_status(self, input: Option<IntegrationStatus>) -> Self
pub fn set_status(self, input: Option<IntegrationStatus>) -> Self
The possible statuses are:
-
CREATING: The integration is being created.
-
ACTIVE: The integration creation succeeds.
-
MODIFYING: The integration is being modified.
-
FAILED: The integration creation fails.
-
DELETING: The integration is deleted.
-
SYNCING: The integration is synchronizing.
-
NEEDS_ATTENTION: The integration needs attention, such as synchronization.
Sourcepub fn get_status(&self) -> &Option<IntegrationStatus>
pub fn get_status(&self) -> &Option<IntegrationStatus>
The possible statuses are:
-
CREATING: The integration is being created.
-
ACTIVE: The integration creation succeeds.
-
MODIFYING: The integration is being modified.
-
FAILED: The integration creation fails.
-
DELETING: The integration is deleted.
-
SYNCING: The integration is synchronizing.
-
NEEDS_ATTENTION: The integration needs attention, such as synchronization.
Sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The time that the integration was created, in UTC.
This field is required.Sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
The time that the integration was created, in UTC.
Sourcepub fn get_create_time(&self) -> &Option<DateTime>
pub fn get_create_time(&self) -> &Option<DateTime>
The time that the integration was created, in UTC.
Sourcepub fn integration_config(self, input: IntegrationConfig) -> Self
pub fn integration_config(self, input: IntegrationConfig) -> Self
Properties associated with the integration.
Sourcepub fn set_integration_config(self, input: Option<IntegrationConfig>) -> Self
pub fn set_integration_config(self, input: Option<IntegrationConfig>) -> Self
Properties associated with the integration.
Sourcepub fn get_integration_config(&self) -> &Option<IntegrationConfig>
pub fn get_integration_config(&self) -> &Option<IntegrationConfig>
Properties associated with the integration.
Sourcepub fn errors(self, input: IntegrationError) -> Self
pub fn errors(self, input: IntegrationError) -> Self
Appends an item to errors.
To override the contents of this collection use set_errors.
A list of errors associated with the integration.
Sourcepub fn set_errors(self, input: Option<Vec<IntegrationError>>) -> Self
pub fn set_errors(self, input: Option<Vec<IntegrationError>>) -> Self
A list of errors associated with the integration.
Sourcepub fn get_errors(&self) -> &Option<Vec<IntegrationError>>
pub fn get_errors(&self) -> &Option<Vec<IntegrationError>>
A list of errors associated with the integration.
Sourcepub fn build(self) -> Result<InboundIntegration, BuildError>
pub fn build(self) -> Result<InboundIntegration, BuildError>
Consumes the builder and constructs a InboundIntegration.
This method will fail if any of the following fields are not set:
Trait Implementations§
Source§impl Clone for InboundIntegrationBuilder
impl Clone for InboundIntegrationBuilder
Source§fn clone(&self) -> InboundIntegrationBuilder
fn clone(&self) -> InboundIntegrationBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InboundIntegrationBuilder
impl Debug for InboundIntegrationBuilder
Source§impl Default for InboundIntegrationBuilder
impl Default for InboundIntegrationBuilder
Source§fn default() -> InboundIntegrationBuilder
fn default() -> InboundIntegrationBuilder
Source§impl PartialEq for InboundIntegrationBuilder
impl PartialEq for InboundIntegrationBuilder
Source§fn eq(&self, other: &InboundIntegrationBuilder) -> bool
fn eq(&self, other: &InboundIntegrationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InboundIntegrationBuilder
Auto Trait Implementations§
impl Freeze for InboundIntegrationBuilder
impl RefUnwindSafe for InboundIntegrationBuilder
impl Send for InboundIntegrationBuilder
impl Sync for InboundIntegrationBuilder
impl Unpin for InboundIntegrationBuilder
impl UnsafeUnpin for InboundIntegrationBuilder
impl UnwindSafe for InboundIntegrationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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