Class ConfigurationDetail
- java.lang.Object
-
- software.amazon.awssdk.services.verifiedpermissions.model.ConfigurationDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConfigurationDetail.Builder,ConfigurationDetail>
@Generated("software.amazon.awssdk:codegen") public final class ConfigurationDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConfigurationDetail.Builder,ConfigurationDetail>
Contains configuration information about an identity source.
This data type is a response parameter to the GetIdentitySource operation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConfigurationDetail.Builderstatic classConfigurationDetail.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigurationDetail.Builderbuilder()CognitoUserPoolConfigurationDetailcognitoUserPoolConfiguration()Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static ConfigurationDetailfromCognitoUserPoolConfiguration(Consumer<CognitoUserPoolConfigurationDetail.Builder> cognitoUserPoolConfiguration)Create an instance of this class withcognitoUserPoolConfiguration()initialized to the given value.static ConfigurationDetailfromCognitoUserPoolConfiguration(CognitoUserPoolConfigurationDetail cognitoUserPoolConfiguration)Create an instance of this class withcognitoUserPoolConfiguration()initialized to the given value.static ConfigurationDetailfromOpenIdConnectConfiguration(Consumer<OpenIdConnectConfigurationDetail.Builder> openIdConnectConfiguration)Create an instance of this class withopenIdConnectConfiguration()initialized to the given value.static ConfigurationDetailfromOpenIdConnectConfiguration(OpenIdConnectConfigurationDetail openIdConnectConfiguration)Create an instance of this class withopenIdConnectConfiguration()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OpenIdConnectConfigurationDetailopenIdConnectConfiguration()Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities.List<SdkField<?>>sdkFields()static Class<? extends ConfigurationDetail.Builder>serializableBuilderClass()ConfigurationDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.ConfigurationDetail.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
cognitoUserPoolConfiguration
public final CognitoUserPoolConfigurationDetail cognitoUserPoolConfiguration()
Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs.
Example:
"configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}- Returns:
- Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a
source of authenticated identities as entities. It specifies the Amazon Resource Name
(ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups,
and one or more application client IDs.
Example:
"configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}
-
openIdConnectConfiguration
public final OpenIdConnectConfigurationDetail openIdConnectConfiguration()
Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.
Example:
"configuration":{"openIdConnectConfiguration":{"issuer":"https://auth.example.com","tokenSelection":{"accessTokenOnly":{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"}},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"}}}- Returns:
- Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that
Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer
URL, token type that you want to use, and policy store entity details.
Example:
"configuration":{"openIdConnectConfiguration":{"issuer":"https://auth.example.com","tokenSelection":{"accessTokenOnly":{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"}},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"}}}
-
toBuilder
public ConfigurationDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConfigurationDetail.Builder,ConfigurationDetail>
-
builder
public static ConfigurationDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConfigurationDetail.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromCognitoUserPoolConfiguration
public static ConfigurationDetail fromCognitoUserPoolConfiguration(CognitoUserPoolConfigurationDetail cognitoUserPoolConfiguration)
Create an instance of this class withcognitoUserPoolConfiguration()initialized to the given value.Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs.
Example:
"configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}- Parameters:
cognitoUserPoolConfiguration- Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs.Example:
"configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}
-
fromCognitoUserPoolConfiguration
public static ConfigurationDetail fromCognitoUserPoolConfiguration(Consumer<CognitoUserPoolConfigurationDetail.Builder> cognitoUserPoolConfiguration)
Create an instance of this class withcognitoUserPoolConfiguration()initialized to the given value.Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs.
Example:
"configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}- Parameters:
cognitoUserPoolConfiguration- Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs.Example:
"configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}
-
fromOpenIdConnectConfiguration
public static ConfigurationDetail fromOpenIdConnectConfiguration(OpenIdConnectConfigurationDetail openIdConnectConfiguration)
Create an instance of this class withopenIdConnectConfiguration()initialized to the given value.Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.
Example:
"configuration":{"openIdConnectConfiguration":{"issuer":"https://auth.example.com","tokenSelection":{"accessTokenOnly":{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"}},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"}}}- Parameters:
openIdConnectConfiguration- Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.Example:
"configuration":{"openIdConnectConfiguration":{"issuer":"https://auth.example.com","tokenSelection":{"accessTokenOnly":{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"}},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"}}}
-
fromOpenIdConnectConfiguration
public static ConfigurationDetail fromOpenIdConnectConfiguration(Consumer<OpenIdConnectConfigurationDetail.Builder> openIdConnectConfiguration)
Create an instance of this class withopenIdConnectConfiguration()initialized to the given value.Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.
Example:
"configuration":{"openIdConnectConfiguration":{"issuer":"https://auth.example.com","tokenSelection":{"accessTokenOnly":{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"}},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"}}}- Parameters:
openIdConnectConfiguration- Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.Example:
"configuration":{"openIdConnectConfiguration":{"issuer":"https://auth.example.com","tokenSelection":{"accessTokenOnly":{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"}},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"}}}
-
type
public ConfigurationDetail.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beConfigurationDetail.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beConfigurationDetail.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-