@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, OIDC, Amazon Cognito user pools, or Amazon Web
Services Lambda.
|
LambdaAuthorizerConfig |
getLambdaAuthorizerConfig()
Configuration for Amazon Web Services Lambda function authorization.
|
OpenIDConnectConfig |
getOpenIDConnectConfig()
The OpenID Connect 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, OIDC, Amazon Cognito user pools, or Amazon Web
Services Lambda.
|
void |
setLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Amazon Web Services Lambda function authorization.
|
void |
setOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect 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, OIDC, Amazon Cognito user pools, or Amazon Web
Services Lambda.
|
AdditionalAuthenticationProvider |
withAuthenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web
Services Lambda.
|
AdditionalAuthenticationProvider |
withLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Amazon Web Services Lambda function authorization.
|
AdditionalAuthenticationProvider |
withOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect 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, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
authenticationType
- The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or
Amazon Web Services Lambda.AuthenticationType
public String getAuthenticationType()
The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
AuthenticationType
public AdditionalAuthenticationProvider withAuthenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
authenticationType
- The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or
Amazon Web Services Lambda.AuthenticationType
public AdditionalAuthenticationProvider withAuthenticationType(AuthenticationType authenticationType)
The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
authenticationType
- The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or
Amazon Web Services Lambda.AuthenticationType
public void setOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration.
openIDConnectConfig
- The OpenID Connect configuration.public OpenIDConnectConfig getOpenIDConnectConfig()
The OpenID Connect configuration.
public AdditionalAuthenticationProvider withOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration.
openIDConnectConfig
- The OpenID Connect 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 Amazon Web Services Lambda function authorization.
lambdaAuthorizerConfig
- Configuration for Amazon Web Services Lambda function authorization.public LambdaAuthorizerConfig getLambdaAuthorizerConfig()
Configuration for Amazon Web Services Lambda function authorization.
public AdditionalAuthenticationProvider withLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Amazon Web Services Lambda function authorization.
lambdaAuthorizerConfig
- Configuration for Amazon Web Services 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.