Struct aws_sdk_appsync::operation::associate_source_graphql_api::builders::AssociateSourceGraphqlApiInputBuilder
source · #[non_exhaustive]pub struct AssociateSourceGraphqlApiInputBuilder { /* private fields */ }
Expand description
A builder for AssociateSourceGraphqlApiInput
.
Implementations§
source§impl AssociateSourceGraphqlApiInputBuilder
impl AssociateSourceGraphqlApiInputBuilder
sourcepub fn merged_api_identifier(self, input: impl Into<String>) -> Self
pub fn merged_api_identifier(self, input: impl Into<String>) -> Self
The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
This field is required.sourcepub fn set_merged_api_identifier(self, input: Option<String>) -> Self
pub fn set_merged_api_identifier(self, input: Option<String>) -> Self
The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
sourcepub fn get_merged_api_identifier(&self) -> &Option<String>
pub fn get_merged_api_identifier(&self) -> &Option<String>
The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
sourcepub fn source_api_identifier(self, input: impl Into<String>) -> Self
pub fn source_api_identifier(self, input: impl Into<String>) -> Self
The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.
This field is required.sourcepub fn set_source_api_identifier(self, input: Option<String>) -> Self
pub fn set_source_api_identifier(self, input: Option<String>) -> Self
The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.
sourcepub fn get_source_api_identifier(&self) -> &Option<String>
pub fn get_source_api_identifier(&self) -> &Option<String>
The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description field.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description field.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description field.
sourcepub fn source_api_association_config(
self,
input: SourceApiAssociationConfig,
) -> Self
pub fn source_api_association_config( self, input: SourceApiAssociationConfig, ) -> Self
The SourceApiAssociationConfig
object data.
sourcepub fn set_source_api_association_config(
self,
input: Option<SourceApiAssociationConfig>,
) -> Self
pub fn set_source_api_association_config( self, input: Option<SourceApiAssociationConfig>, ) -> Self
The SourceApiAssociationConfig
object data.
sourcepub fn get_source_api_association_config(
&self,
) -> &Option<SourceApiAssociationConfig>
pub fn get_source_api_association_config( &self, ) -> &Option<SourceApiAssociationConfig>
The SourceApiAssociationConfig
object data.
sourcepub fn build(self) -> Result<AssociateSourceGraphqlApiInput, BuildError>
pub fn build(self) -> Result<AssociateSourceGraphqlApiInput, BuildError>
Consumes the builder and constructs a AssociateSourceGraphqlApiInput
.
source§impl AssociateSourceGraphqlApiInputBuilder
impl AssociateSourceGraphqlApiInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AssociateSourceGraphqlApiOutput, SdkError<AssociateSourceGraphqlApiError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AssociateSourceGraphqlApiOutput, SdkError<AssociateSourceGraphqlApiError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateSourceGraphqlApiInputBuilder
impl Clone for AssociateSourceGraphqlApiInputBuilder
source§fn clone(&self) -> AssociateSourceGraphqlApiInputBuilder
fn clone(&self) -> AssociateSourceGraphqlApiInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssociateSourceGraphqlApiInputBuilder
impl Default for AssociateSourceGraphqlApiInputBuilder
source§fn default() -> AssociateSourceGraphqlApiInputBuilder
fn default() -> AssociateSourceGraphqlApiInputBuilder
source§impl PartialEq for AssociateSourceGraphqlApiInputBuilder
impl PartialEq for AssociateSourceGraphqlApiInputBuilder
source§fn eq(&self, other: &AssociateSourceGraphqlApiInputBuilder) -> bool
fn eq(&self, other: &AssociateSourceGraphqlApiInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AssociateSourceGraphqlApiInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateSourceGraphqlApiInputBuilder
impl RefUnwindSafe for AssociateSourceGraphqlApiInputBuilder
impl Send for AssociateSourceGraphqlApiInputBuilder
impl Sync for AssociateSourceGraphqlApiInputBuilder
impl Unpin for AssociateSourceGraphqlApiInputBuilder
impl UnwindSafe for AssociateSourceGraphqlApiInputBuilder
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