@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomConnectorProfileCredentials extends Object implements Serializable, Cloneable, StructuredPojo
The connector-specific profile credentials that are required when using the custom connector.
Constructor and Description |
---|
CustomConnectorProfileCredentials() |
Modifier and Type | Method and Description |
---|---|
CustomConnectorProfileCredentials |
clone() |
boolean |
equals(Object obj) |
ApiKeyCredentials |
getApiKey()
The API keys required for the authentication of the user.
|
String |
getAuthenticationType()
The authentication type that the custom connector uses for authenticating while creating a connector profile.
|
BasicAuthCredentials |
getBasic()
The basic credentials that are required for the authentication of the user.
|
CustomAuthCredentials |
getCustom()
If the connector uses the custom authentication mechanism, this holds the required credentials.
|
OAuth2Credentials |
getOauth2()
The OAuth 2.0 credentials required for the authentication of the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApiKey(ApiKeyCredentials apiKey)
The API keys required for the authentication of the user.
|
void |
setAuthenticationType(String authenticationType)
The authentication type that the custom connector uses for authenticating while creating a connector profile.
|
void |
setBasic(BasicAuthCredentials basic)
The basic credentials that are required for the authentication of the user.
|
void |
setCustom(CustomAuthCredentials custom)
If the connector uses the custom authentication mechanism, this holds the required credentials.
|
void |
setOauth2(OAuth2Credentials oauth2)
The OAuth 2.0 credentials required for the authentication of the user.
|
String |
toString()
Returns a string representation of this object.
|
CustomConnectorProfileCredentials |
withApiKey(ApiKeyCredentials apiKey)
The API keys required for the authentication of the user.
|
CustomConnectorProfileCredentials |
withAuthenticationType(AuthenticationType authenticationType)
The authentication type that the custom connector uses for authenticating while creating a connector profile.
|
CustomConnectorProfileCredentials |
withAuthenticationType(String authenticationType)
The authentication type that the custom connector uses for authenticating while creating a connector profile.
|
CustomConnectorProfileCredentials |
withBasic(BasicAuthCredentials basic)
The basic credentials that are required for the authentication of the user.
|
CustomConnectorProfileCredentials |
withCustom(CustomAuthCredentials custom)
If the connector uses the custom authentication mechanism, this holds the required credentials.
|
CustomConnectorProfileCredentials |
withOauth2(OAuth2Credentials oauth2)
The OAuth 2.0 credentials required for the authentication of the user.
|
public void setAuthenticationType(String authenticationType)
The authentication type that the custom connector uses for authenticating while creating a connector profile.
authenticationType
- The authentication type that the custom connector uses for authenticating while creating a connector
profile.AuthenticationType
public String getAuthenticationType()
The authentication type that the custom connector uses for authenticating while creating a connector profile.
AuthenticationType
public CustomConnectorProfileCredentials withAuthenticationType(String authenticationType)
The authentication type that the custom connector uses for authenticating while creating a connector profile.
authenticationType
- The authentication type that the custom connector uses for authenticating while creating a connector
profile.AuthenticationType
public CustomConnectorProfileCredentials withAuthenticationType(AuthenticationType authenticationType)
The authentication type that the custom connector uses for authenticating while creating a connector profile.
authenticationType
- The authentication type that the custom connector uses for authenticating while creating a connector
profile.AuthenticationType
public void setBasic(BasicAuthCredentials basic)
The basic credentials that are required for the authentication of the user.
basic
- The basic credentials that are required for the authentication of the user.public BasicAuthCredentials getBasic()
The basic credentials that are required for the authentication of the user.
public CustomConnectorProfileCredentials withBasic(BasicAuthCredentials basic)
The basic credentials that are required for the authentication of the user.
basic
- The basic credentials that are required for the authentication of the user.public void setOauth2(OAuth2Credentials oauth2)
The OAuth 2.0 credentials required for the authentication of the user.
oauth2
- The OAuth 2.0 credentials required for the authentication of the user.public OAuth2Credentials getOauth2()
The OAuth 2.0 credentials required for the authentication of the user.
public CustomConnectorProfileCredentials withOauth2(OAuth2Credentials oauth2)
The OAuth 2.0 credentials required for the authentication of the user.
oauth2
- The OAuth 2.0 credentials required for the authentication of the user.public void setApiKey(ApiKeyCredentials apiKey)
The API keys required for the authentication of the user.
apiKey
- The API keys required for the authentication of the user.public ApiKeyCredentials getApiKey()
The API keys required for the authentication of the user.
public CustomConnectorProfileCredentials withApiKey(ApiKeyCredentials apiKey)
The API keys required for the authentication of the user.
apiKey
- The API keys required for the authentication of the user.public void setCustom(CustomAuthCredentials custom)
If the connector uses the custom authentication mechanism, this holds the required credentials.
custom
- If the connector uses the custom authentication mechanism, this holds the required credentials.public CustomAuthCredentials getCustom()
If the connector uses the custom authentication mechanism, this holds the required credentials.
public CustomConnectorProfileCredentials withCustom(CustomAuthCredentials custom)
If the connector uses the custom authentication mechanism, this holds the required credentials.
custom
- If the connector uses the custom authentication mechanism, this holds the required credentials.public String toString()
toString
in class Object
Object.toString()
public CustomConnectorProfileCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.