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.
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.
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<AssociateSourceGraphqlApiInputBuilder> for AssociateSourceGraphqlApiInputBuilder
impl PartialEq<AssociateSourceGraphqlApiInputBuilder> 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 ==
.