@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthenticationConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the authentication config that the connector supports.
Constructor and Description |
---|
AuthenticationConfig() |
Modifier and Type | Method and Description |
---|---|
AuthenticationConfig |
clone() |
boolean |
equals(Object obj) |
List<CustomAuthConfig> |
getCustomAuthConfigs()
Contains information required for custom authentication.
|
Boolean |
getIsApiKeyAuthSupported()
Indicates whether API key authentication is supported by the connector
|
Boolean |
getIsBasicAuthSupported()
Indicates whether basic authentication is supported by the connector.
|
Boolean |
getIsCustomAuthSupported()
Indicates whether custom authentication is supported by the connector
|
Boolean |
getIsOAuth2Supported()
Indicates whether OAuth 2.0 authentication is supported by the connector.
|
OAuth2Defaults |
getOAuth2Defaults()
Contains the default values required for OAuth 2.0 authentication.
|
int |
hashCode() |
Boolean |
isApiKeyAuthSupported()
Indicates whether API key authentication is supported by the connector
|
Boolean |
isBasicAuthSupported()
Indicates whether basic authentication is supported by the connector.
|
Boolean |
isCustomAuthSupported()
Indicates whether custom authentication is supported by the connector
|
Boolean |
isOAuth2Supported()
Indicates whether OAuth 2.0 authentication is supported by the connector.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomAuthConfigs(Collection<CustomAuthConfig> customAuthConfigs)
Contains information required for custom authentication.
|
void |
setIsApiKeyAuthSupported(Boolean isApiKeyAuthSupported)
Indicates whether API key authentication is supported by the connector
|
void |
setIsBasicAuthSupported(Boolean isBasicAuthSupported)
Indicates whether basic authentication is supported by the connector.
|
void |
setIsCustomAuthSupported(Boolean isCustomAuthSupported)
Indicates whether custom authentication is supported by the connector
|
void |
setIsOAuth2Supported(Boolean isOAuth2Supported)
Indicates whether OAuth 2.0 authentication is supported by the connector.
|
void |
setOAuth2Defaults(OAuth2Defaults oAuth2Defaults)
Contains the default values required for OAuth 2.0 authentication.
|
String |
toString()
Returns a string representation of this object.
|
AuthenticationConfig |
withCustomAuthConfigs(Collection<CustomAuthConfig> customAuthConfigs)
Contains information required for custom authentication.
|
AuthenticationConfig |
withCustomAuthConfigs(CustomAuthConfig... customAuthConfigs)
Contains information required for custom authentication.
|
AuthenticationConfig |
withIsApiKeyAuthSupported(Boolean isApiKeyAuthSupported)
Indicates whether API key authentication is supported by the connector
|
AuthenticationConfig |
withIsBasicAuthSupported(Boolean isBasicAuthSupported)
Indicates whether basic authentication is supported by the connector.
|
AuthenticationConfig |
withIsCustomAuthSupported(Boolean isCustomAuthSupported)
Indicates whether custom authentication is supported by the connector
|
AuthenticationConfig |
withIsOAuth2Supported(Boolean isOAuth2Supported)
Indicates whether OAuth 2.0 authentication is supported by the connector.
|
AuthenticationConfig |
withOAuth2Defaults(OAuth2Defaults oAuth2Defaults)
Contains the default values required for OAuth 2.0 authentication.
|
public void setIsBasicAuthSupported(Boolean isBasicAuthSupported)
Indicates whether basic authentication is supported by the connector.
isBasicAuthSupported
- Indicates whether basic authentication is supported by the connector.public Boolean getIsBasicAuthSupported()
Indicates whether basic authentication is supported by the connector.
public AuthenticationConfig withIsBasicAuthSupported(Boolean isBasicAuthSupported)
Indicates whether basic authentication is supported by the connector.
isBasicAuthSupported
- Indicates whether basic authentication is supported by the connector.public Boolean isBasicAuthSupported()
Indicates whether basic authentication is supported by the connector.
public void setIsApiKeyAuthSupported(Boolean isApiKeyAuthSupported)
Indicates whether API key authentication is supported by the connector
isApiKeyAuthSupported
- Indicates whether API key authentication is supported by the connectorpublic Boolean getIsApiKeyAuthSupported()
Indicates whether API key authentication is supported by the connector
public AuthenticationConfig withIsApiKeyAuthSupported(Boolean isApiKeyAuthSupported)
Indicates whether API key authentication is supported by the connector
isApiKeyAuthSupported
- Indicates whether API key authentication is supported by the connectorpublic Boolean isApiKeyAuthSupported()
Indicates whether API key authentication is supported by the connector
public void setIsOAuth2Supported(Boolean isOAuth2Supported)
Indicates whether OAuth 2.0 authentication is supported by the connector.
isOAuth2Supported
- Indicates whether OAuth 2.0 authentication is supported by the connector.public Boolean getIsOAuth2Supported()
Indicates whether OAuth 2.0 authentication is supported by the connector.
public AuthenticationConfig withIsOAuth2Supported(Boolean isOAuth2Supported)
Indicates whether OAuth 2.0 authentication is supported by the connector.
isOAuth2Supported
- Indicates whether OAuth 2.0 authentication is supported by the connector.public Boolean isOAuth2Supported()
Indicates whether OAuth 2.0 authentication is supported by the connector.
public void setIsCustomAuthSupported(Boolean isCustomAuthSupported)
Indicates whether custom authentication is supported by the connector
isCustomAuthSupported
- Indicates whether custom authentication is supported by the connectorpublic Boolean getIsCustomAuthSupported()
Indicates whether custom authentication is supported by the connector
public AuthenticationConfig withIsCustomAuthSupported(Boolean isCustomAuthSupported)
Indicates whether custom authentication is supported by the connector
isCustomAuthSupported
- Indicates whether custom authentication is supported by the connectorpublic Boolean isCustomAuthSupported()
Indicates whether custom authentication is supported by the connector
public void setOAuth2Defaults(OAuth2Defaults oAuth2Defaults)
Contains the default values required for OAuth 2.0 authentication.
oAuth2Defaults
- Contains the default values required for OAuth 2.0 authentication.public OAuth2Defaults getOAuth2Defaults()
Contains the default values required for OAuth 2.0 authentication.
public AuthenticationConfig withOAuth2Defaults(OAuth2Defaults oAuth2Defaults)
Contains the default values required for OAuth 2.0 authentication.
oAuth2Defaults
- Contains the default values required for OAuth 2.0 authentication.public List<CustomAuthConfig> getCustomAuthConfigs()
Contains information required for custom authentication.
public void setCustomAuthConfigs(Collection<CustomAuthConfig> customAuthConfigs)
Contains information required for custom authentication.
customAuthConfigs
- Contains information required for custom authentication.public AuthenticationConfig withCustomAuthConfigs(CustomAuthConfig... customAuthConfigs)
Contains information required for custom authentication.
NOTE: This method appends the values to the existing list (if any). Use
setCustomAuthConfigs(java.util.Collection)
or withCustomAuthConfigs(java.util.Collection)
if
you want to override the existing values.
customAuthConfigs
- Contains information required for custom authentication.public AuthenticationConfig withCustomAuthConfigs(Collection<CustomAuthConfig> customAuthConfigs)
Contains information required for custom authentication.
customAuthConfigs
- Contains information required for custom authentication.public String toString()
toString
in class Object
Object.toString()
public AuthenticationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.