Class CustomConnectorProfileCredentials
- java.lang.Object
-
- software.amazon.awssdk.services.appflow.model.CustomConnectorProfileCredentials
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomConnectorProfileCredentials.Builder,CustomConnectorProfileCredentials>
@Generated("software.amazon.awssdk:codegen") public final class CustomConnectorProfileCredentials extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomConnectorProfileCredentials.Builder,CustomConnectorProfileCredentials>
The connector-specific profile credentials that are required when using the custom connector.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCustomConnectorProfileCredentials.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiKeyCredentialsapiKey()The API keys required for the authentication of the user.AuthenticationTypeauthenticationType()The authentication type that the custom connector uses for authenticating while creating a connector profile.StringauthenticationTypeAsString()The authentication type that the custom connector uses for authenticating while creating a connector profile.BasicAuthCredentialsbasic()The basic credentials that are required for the authentication of the user.static CustomConnectorProfileCredentials.Builderbuilder()CustomAuthCredentialscustom()If the connector uses the custom authentication mechanism, this holds the required credentials.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OAuth2Credentialsoauth2()The OAuth 2.0 credentials required for the authentication of the user.List<SdkField<?>>sdkFields()static Class<? extends CustomConnectorProfileCredentials.Builder>serializableBuilderClass()CustomConnectorProfileCredentials.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
authenticationType
public final AuthenticationType authenticationType()
The authentication type that the custom connector uses for authenticating while creating a connector profile.
If the service returns an enum value that is not available in the current SDK version,
authenticationTypewill returnAuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthenticationTypeAsString().- Returns:
- The authentication type that the custom connector uses for authenticating while creating a connector profile.
- See Also:
AuthenticationType
-
authenticationTypeAsString
public final String authenticationTypeAsString()
The authentication type that the custom connector uses for authenticating while creating a connector profile.
If the service returns an enum value that is not available in the current SDK version,
authenticationTypewill returnAuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthenticationTypeAsString().- Returns:
- The authentication type that the custom connector uses for authenticating while creating a connector profile.
- See Also:
AuthenticationType
-
basic
public final BasicAuthCredentials basic()
The basic credentials that are required for the authentication of the user.
- Returns:
- The basic credentials that are required for the authentication of the user.
-
oauth2
public final OAuth2Credentials oauth2()
The OAuth 2.0 credentials required for the authentication of the user.
- Returns:
- The OAuth 2.0 credentials required for the authentication of the user.
-
apiKey
public final ApiKeyCredentials apiKey()
The API keys required for the authentication of the user.
- Returns:
- The API keys required for the authentication of the user.
-
custom
public final CustomAuthCredentials custom()
If the connector uses the custom authentication mechanism, this holds the required credentials.
- Returns:
- If the connector uses the custom authentication mechanism, this holds the required credentials.
-
toBuilder
public CustomConnectorProfileCredentials.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomConnectorProfileCredentials.Builder,CustomConnectorProfileCredentials>
-
builder
public static CustomConnectorProfileCredentials.Builder builder()
-
serializableBuilderClass
public static Class<? extends CustomConnectorProfileCredentials.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-