#[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 ==
.