@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdditionalAuthenticationProvider extends Object implements Serializable, Cloneable, StructuredPojo
Describes an additional authentication provider.
Constructor and Description |
---|
AdditionalAuthenticationProvider() |
Modifier and Type | Method and Description |
---|---|
AdditionalAuthenticationProvider |
clone() |
boolean |
equals(Object obj) |
String |
getAuthenticationType()
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito
user pools, or Lambda.
|
LambdaAuthorizerConfig |
getLambdaAuthorizerConfig()
Configuration for Lambda function authorization.
|
OpenIDConnectConfig |
getOpenIDConnectConfig()
The OIDC configuration.
|
CognitoUserPoolConfig |
getUserPoolConfig()
The Amazon Cognito user pool configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito
user pools, or Lambda.
|
void |
setLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
|
void |
setOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OIDC configuration.
|
void |
setUserPoolConfig(CognitoUserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
|
String |
toString()
Returns a string representation of this object.
|
AdditionalAuthenticationProvider |
withAuthenticationType(AuthenticationType authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito
user pools, or Lambda.
|
AdditionalAuthenticationProvider |
withAuthenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito
user pools, or Lambda.
|
AdditionalAuthenticationProvider |
withLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
|
AdditionalAuthenticationProvider |
withOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OIDC configuration.
|
AdditionalAuthenticationProvider |
withUserPoolConfig(CognitoUserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
|
public void setAuthenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
authenticationType
- The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon
Cognito user pools, or Lambda.AuthenticationType
public String getAuthenticationType()
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
AuthenticationType
public AdditionalAuthenticationProvider withAuthenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
authenticationType
- The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon
Cognito user pools, or Lambda.AuthenticationType
public AdditionalAuthenticationProvider withAuthenticationType(AuthenticationType authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
authenticationType
- The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon
Cognito user pools, or Lambda.AuthenticationType
public void setOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OIDC configuration.
openIDConnectConfig
- The OIDC configuration.public OpenIDConnectConfig getOpenIDConnectConfig()
The OIDC configuration.
public AdditionalAuthenticationProvider withOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OIDC configuration.
openIDConnectConfig
- The OIDC configuration.public void setUserPoolConfig(CognitoUserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
userPoolConfig
- The Amazon Cognito user pool configuration.public CognitoUserPoolConfig getUserPoolConfig()
The Amazon Cognito user pool configuration.
public AdditionalAuthenticationProvider withUserPoolConfig(CognitoUserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
userPoolConfig
- The Amazon Cognito user pool configuration.public void setLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
lambdaAuthorizerConfig
- Configuration for Lambda function authorization.public LambdaAuthorizerConfig getLambdaAuthorizerConfig()
Configuration for Lambda function authorization.
public AdditionalAuthenticationProvider withLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
lambdaAuthorizerConfig
- Configuration for Lambda function authorization.public String toString()
toString
in class Object
Object.toString()
public AdditionalAuthenticationProvider clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.