#[non_exhaustive]pub struct SourceApiAssociationConfigBuilder { /* private fields */ }
Expand description
A builder for SourceApiAssociationConfig
.
Implementations§
source§impl SourceApiAssociationConfigBuilder
impl SourceApiAssociationConfigBuilder
sourcepub fn merge_type(self, input: MergeType) -> Self
pub fn merge_type(self, input: MergeType) -> Self
The property that indicates which merging option is enabled in the source API association.
Valid merge types are MANUAL_MERGE
(default) and AUTO_MERGE
. Manual merges are the default behavior and require the user to trigger any changes from the source APIs to the merged API manually. Auto merges subscribe the merged API to the changes performed on the source APIs so that any change in the source APIs are also made to the merged API. Auto merges use MergedApiExecutionRoleArn
to perform merge operations.
sourcepub fn set_merge_type(self, input: Option<MergeType>) -> Self
pub fn set_merge_type(self, input: Option<MergeType>) -> Self
The property that indicates which merging option is enabled in the source API association.
Valid merge types are MANUAL_MERGE
(default) and AUTO_MERGE
. Manual merges are the default behavior and require the user to trigger any changes from the source APIs to the merged API manually. Auto merges subscribe the merged API to the changes performed on the source APIs so that any change in the source APIs are also made to the merged API. Auto merges use MergedApiExecutionRoleArn
to perform merge operations.
sourcepub fn get_merge_type(&self) -> &Option<MergeType>
pub fn get_merge_type(&self) -> &Option<MergeType>
The property that indicates which merging option is enabled in the source API association.
Valid merge types are MANUAL_MERGE
(default) and AUTO_MERGE
. Manual merges are the default behavior and require the user to trigger any changes from the source APIs to the merged API manually. Auto merges subscribe the merged API to the changes performed on the source APIs so that any change in the source APIs are also made to the merged API. Auto merges use MergedApiExecutionRoleArn
to perform merge operations.
sourcepub fn build(self) -> SourceApiAssociationConfig
pub fn build(self) -> SourceApiAssociationConfig
Consumes the builder and constructs a SourceApiAssociationConfig
.
Trait Implementations§
source§impl Clone for SourceApiAssociationConfigBuilder
impl Clone for SourceApiAssociationConfigBuilder
source§fn clone(&self) -> SourceApiAssociationConfigBuilder
fn clone(&self) -> SourceApiAssociationConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SourceApiAssociationConfigBuilder
impl Default for SourceApiAssociationConfigBuilder
source§fn default() -> SourceApiAssociationConfigBuilder
fn default() -> SourceApiAssociationConfigBuilder
source§impl PartialEq for SourceApiAssociationConfigBuilder
impl PartialEq for SourceApiAssociationConfigBuilder
source§fn eq(&self, other: &SourceApiAssociationConfigBuilder) -> bool
fn eq(&self, other: &SourceApiAssociationConfigBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SourceApiAssociationConfigBuilder
Auto Trait Implementations§
impl Freeze for SourceApiAssociationConfigBuilder
impl RefUnwindSafe for SourceApiAssociationConfigBuilder
impl Send for SourceApiAssociationConfigBuilder
impl Sync for SourceApiAssociationConfigBuilder
impl Unpin for SourceApiAssociationConfigBuilder
impl UnwindSafe for SourceApiAssociationConfigBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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