@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CustomConnectorProfileCredentials.Builder |
| Modifier and Type | Method and Description |
|---|---|
ApiKeyCredentials |
apiKey()
The API keys required for the authentication of the user.
|
AuthenticationType |
authenticationType()
The authentication type that the custom connector uses for authenticating while creating a connector profile.
|
String |
authenticationTypeAsString()
The authentication type that the custom connector uses for authenticating while creating a connector profile.
|
BasicAuthCredentials |
basic()
The basic credentials that are required for the authentication of the user.
|
static CustomConnectorProfileCredentials.Builder |
builder() |
CustomAuthCredentials |
custom()
If the connector uses the custom authentication mechanism, this holds the required credentials.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
OAuth2Credentials |
oauth2()
The OAuth 2.0 credentials required for the authentication of the user.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CustomConnectorProfileCredentials.Builder> |
serializableBuilderClass() |
CustomConnectorProfileCredentials.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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,
authenticationType will return AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from authenticationTypeAsString().
AuthenticationTypepublic 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,
authenticationType will return AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from authenticationTypeAsString().
AuthenticationTypepublic final BasicAuthCredentials basic()
The basic credentials that are required for the authentication of the user.
public final OAuth2Credentials oauth2()
The OAuth 2.0 credentials required for the authentication of the user.
public final ApiKeyCredentials apiKey()
The API keys required for the authentication of the user.
public final CustomAuthCredentials custom()
If the connector uses the custom authentication mechanism, this holds the required credentials.
public CustomConnectorProfileCredentials.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CustomConnectorProfileCredentials.Builder,CustomConnectorProfileCredentials>public static CustomConnectorProfileCredentials.Builder builder()
public static Class<? extends CustomConnectorProfileCredentials.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.