@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, AWS IAM, OIDC, or Amazon Cognito user pools.
|
OpenIDConnectConfig |
getOpenIDConnectConfig()
The OpenID Connect configuration.
|
CognitoUserPoolConfig |
getUserPoolConfig()
The Amazon Cognito user pool configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAuthenticationType(String authenticationType)
The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools.
|
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, AWS IAM, OIDC, or Amazon Cognito user pools.
|
AdditionalAuthenticationProvider |
withAuthenticationType(String authenticationType)
The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools.
|
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, AWS IAM, OIDC, or Amazon Cognito user pools.
authenticationType
- The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools.AuthenticationType
public String getAuthenticationType()
The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools.
AuthenticationType
public AdditionalAuthenticationProvider withAuthenticationType(String authenticationType)
The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools.
authenticationType
- The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools.AuthenticationType
public AdditionalAuthenticationProvider withAuthenticationType(AuthenticationType authenticationType)
The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools.
authenticationType
- The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools.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 String toString()
toString
in class Object
Object.toString()
public AdditionalAuthenticationProvider clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.