#[non_exhaustive]pub struct AwsAppSyncGraphQlApiDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsAppSyncGraphQlApiDetails
.
Implementations§
source§impl AwsAppSyncGraphQlApiDetailsBuilder
impl AwsAppSyncGraphQlApiDetailsBuilder
sourcepub fn set_api_id(self, input: Option<String>) -> Self
pub fn set_api_id(self, input: Option<String>) -> Self
The unique identifier for the API.
sourcepub fn get_api_id(&self) -> &Option<String>
pub fn get_api_id(&self) -> &Option<String>
The unique identifier for the API.
sourcepub fn open_id_connect_config(
self,
input: AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
) -> Self
pub fn open_id_connect_config( self, input: AwsAppSyncGraphQlApiOpenIdConnectConfigDetails ) -> Self
Specifies the authorization configuration for using an OpenID Connect compliant service with an AppSync GraphQL API endpoint.
sourcepub fn set_open_id_connect_config(
self,
input: Option<AwsAppSyncGraphQlApiOpenIdConnectConfigDetails>
) -> Self
pub fn set_open_id_connect_config( self, input: Option<AwsAppSyncGraphQlApiOpenIdConnectConfigDetails> ) -> Self
Specifies the authorization configuration for using an OpenID Connect compliant service with an AppSync GraphQL API endpoint.
sourcepub fn get_open_id_connect_config(
&self
) -> &Option<AwsAppSyncGraphQlApiOpenIdConnectConfigDetails>
pub fn get_open_id_connect_config( &self ) -> &Option<AwsAppSyncGraphQlApiOpenIdConnectConfigDetails>
Specifies the authorization configuration for using an OpenID Connect compliant service with an AppSync GraphQL API endpoint.
Specifies the configuration for Lambda function authorization.
Specifies the configuration for Lambda function authorization.
Specifies the configuration for Lambda function authorization.
sourcepub fn xray_enabled(self, input: bool) -> Self
pub fn xray_enabled(self, input: bool) -> Self
Indicates whether to use X-Ray tracing for the GraphQL API.
sourcepub fn set_xray_enabled(self, input: Option<bool>) -> Self
pub fn set_xray_enabled(self, input: Option<bool>) -> Self
Indicates whether to use X-Ray tracing for the GraphQL API.
sourcepub fn get_xray_enabled(&self) -> &Option<bool>
pub fn get_xray_enabled(&self) -> &Option<bool>
Indicates whether to use X-Ray tracing for the GraphQL API.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the API.
sourcepub fn user_pool_config(
self,
input: AwsAppSyncGraphQlApiUserPoolConfigDetails
) -> Self
pub fn user_pool_config( self, input: AwsAppSyncGraphQlApiUserPoolConfigDetails ) -> Self
The Amazon Cognito user pools configuration.
sourcepub fn set_user_pool_config(
self,
input: Option<AwsAppSyncGraphQlApiUserPoolConfigDetails>
) -> Self
pub fn set_user_pool_config( self, input: Option<AwsAppSyncGraphQlApiUserPoolConfigDetails> ) -> Self
The Amazon Cognito user pools configuration.
sourcepub fn get_user_pool_config(
&self
) -> &Option<AwsAppSyncGraphQlApiUserPoolConfigDetails>
pub fn get_user_pool_config( &self ) -> &Option<AwsAppSyncGraphQlApiUserPoolConfigDetails>
The Amazon Cognito user pools configuration.
sourcepub fn authentication_type(self, input: impl Into<String>) -> Self
pub fn authentication_type(self, input: impl Into<String>) -> Self
The type of security configuration for your GraphQL API: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
sourcepub fn set_authentication_type(self, input: Option<String>) -> Self
pub fn set_authentication_type(self, input: Option<String>) -> Self
The type of security configuration for your GraphQL API: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
sourcepub fn get_authentication_type(&self) -> &Option<String>
pub fn get_authentication_type(&self) -> &Option<String>
The type of security configuration for your GraphQL API: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
sourcepub fn log_config(self, input: AwsAppSyncGraphQlApiLogConfigDetails) -> Self
pub fn log_config(self, input: AwsAppSyncGraphQlApiLogConfigDetails) -> Self
The Amazon CloudWatch Logs configuration.
sourcepub fn set_log_config(
self,
input: Option<AwsAppSyncGraphQlApiLogConfigDetails>
) -> Self
pub fn set_log_config( self, input: Option<AwsAppSyncGraphQlApiLogConfigDetails> ) -> Self
The Amazon CloudWatch Logs configuration.
sourcepub fn get_log_config(&self) -> &Option<AwsAppSyncGraphQlApiLogConfigDetails>
pub fn get_log_config(&self) -> &Option<AwsAppSyncGraphQlApiLogConfigDetails>
The Amazon CloudWatch Logs configuration.
sourcepub fn additional_authentication_providers(
self,
input: AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails
) -> Self
pub fn additional_authentication_providers( self, input: AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails ) -> Self
Appends an item to additional_authentication_providers
.
To override the contents of this collection use set_additional_authentication_providers
.
A list of additional authentication providers for the GraphQL API.
sourcepub fn set_additional_authentication_providers(
self,
input: Option<Vec<AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails>>
) -> Self
pub fn set_additional_authentication_providers( self, input: Option<Vec<AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails>> ) -> Self
A list of additional authentication providers for the GraphQL API.
sourcepub fn get_additional_authentication_providers(
&self
) -> &Option<Vec<AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails>>
pub fn get_additional_authentication_providers( &self ) -> &Option<Vec<AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails>>
A list of additional authentication providers for the GraphQL API.
sourcepub fn waf_web_acl_arn(self, input: impl Into<String>) -> Self
pub fn waf_web_acl_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the WAF web access control list (web ACL) associated with this GraphQL API, if one exists.
sourcepub fn set_waf_web_acl_arn(self, input: Option<String>) -> Self
pub fn set_waf_web_acl_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the WAF web access control list (web ACL) associated with this GraphQL API, if one exists.
sourcepub fn get_waf_web_acl_arn(&self) -> &Option<String>
pub fn get_waf_web_acl_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the WAF web access control list (web ACL) associated with this GraphQL API, if one exists.
sourcepub fn build(self) -> AwsAppSyncGraphQlApiDetails
pub fn build(self) -> AwsAppSyncGraphQlApiDetails
Consumes the builder and constructs a AwsAppSyncGraphQlApiDetails
.
Trait Implementations§
source§impl Clone for AwsAppSyncGraphQlApiDetailsBuilder
impl Clone for AwsAppSyncGraphQlApiDetailsBuilder
source§fn clone(&self) -> AwsAppSyncGraphQlApiDetailsBuilder
fn clone(&self) -> AwsAppSyncGraphQlApiDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsAppSyncGraphQlApiDetailsBuilder
impl Default for AwsAppSyncGraphQlApiDetailsBuilder
source§fn default() -> AwsAppSyncGraphQlApiDetailsBuilder
fn default() -> AwsAppSyncGraphQlApiDetailsBuilder
source§impl PartialEq for AwsAppSyncGraphQlApiDetailsBuilder
impl PartialEq for AwsAppSyncGraphQlApiDetailsBuilder
source§fn eq(&self, other: &AwsAppSyncGraphQlApiDetailsBuilder) -> bool
fn eq(&self, other: &AwsAppSyncGraphQlApiDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.