Struct aws_sdk_verifiedpermissions::types::builders::CognitoUserPoolConfigurationItemBuilder
source · #[non_exhaustive]pub struct CognitoUserPoolConfigurationItemBuilder { /* private fields */ }Expand description
A builder for CognitoUserPoolConfigurationItem.
Implementations§
source§impl CognitoUserPoolConfigurationItemBuilder
impl CognitoUserPoolConfigurationItemBuilder
sourcepub fn user_pool_arn(self, input: impl Into<String>) -> Self
pub fn user_pool_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "userPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
sourcepub fn set_user_pool_arn(self, input: Option<String>) -> Self
pub fn set_user_pool_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "userPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
sourcepub fn get_user_pool_arn(&self) -> &Option<String>
pub fn get_user_pool_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "userPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
sourcepub fn client_ids(self, input: impl Into<String>) -> Self
pub fn client_ids(self, input: impl Into<String>) -> Self
Appends an item to client_ids.
To override the contents of this collection use set_client_ids.
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "clientIds": ["&ExampleCogClientId;"]
sourcepub fn set_client_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_client_ids(self, input: Option<Vec<String>>) -> Self
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "clientIds": ["&ExampleCogClientId;"]
sourcepub fn get_client_ids(&self) -> &Option<Vec<String>>
pub fn get_client_ids(&self) -> &Option<Vec<String>>
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "clientIds": ["&ExampleCogClientId;"]
sourcepub fn issuer(self, input: impl Into<String>) -> Self
pub fn issuer(self, input: impl Into<String>) -> Self
The OpenID Connect (OIDC) issuer ID of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "issuer": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"
sourcepub fn set_issuer(self, input: Option<String>) -> Self
pub fn set_issuer(self, input: Option<String>) -> Self
The OpenID Connect (OIDC) issuer ID of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "issuer": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"
sourcepub fn get_issuer(&self) -> &Option<String>
pub fn get_issuer(&self) -> &Option<String>
The OpenID Connect (OIDC) issuer ID of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "issuer": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"
sourcepub fn build(self) -> Result<CognitoUserPoolConfigurationItem, BuildError>
pub fn build(self) -> Result<CognitoUserPoolConfigurationItem, BuildError>
Consumes the builder and constructs a CognitoUserPoolConfigurationItem.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CognitoUserPoolConfigurationItemBuilder
impl Clone for CognitoUserPoolConfigurationItemBuilder
source§fn clone(&self) -> CognitoUserPoolConfigurationItemBuilder
fn clone(&self) -> CognitoUserPoolConfigurationItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CognitoUserPoolConfigurationItemBuilder
impl Default for CognitoUserPoolConfigurationItemBuilder
source§fn default() -> CognitoUserPoolConfigurationItemBuilder
fn default() -> CognitoUserPoolConfigurationItemBuilder
source§impl PartialEq for CognitoUserPoolConfigurationItemBuilder
impl PartialEq for CognitoUserPoolConfigurationItemBuilder
source§fn eq(&self, other: &CognitoUserPoolConfigurationItemBuilder) -> bool
fn eq(&self, other: &CognitoUserPoolConfigurationItemBuilder) -> bool
self and other values to be equal, and is used
by ==.