Class ConnectorOAuth2Properties
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.ConnectorOAuth2Properties
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConnectorOAuth2Properties.Builder,ConnectorOAuth2Properties>
@Generated("software.amazon.awssdk:codegen") public final class ConnectorOAuth2Properties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConnectorOAuth2Properties.Builder,ConnectorOAuth2Properties>
OAuth2 configuration container that defines the authentication properties and flow-specific configurations for OAuth2-based connections.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConnectorOAuth2Properties.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectorAuthorizationCodePropertiesauthorizationCodeProperties()Configuration properties specific to the OAuth2 Authorization Code grant type flow.static ConnectorOAuth2Properties.Builderbuilder()ClientCredentialsPropertiesclientCredentialsProperties()Configuration properties specific to the OAuth2 Client Credentials grant type flow.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()JWTBearerPropertiesjwtBearerProperties()Configuration properties specific to the OAuth2 JWT Bearer grant type flow.ConnectorOAuth2GrantTypeoAuth2GrantType()The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.StringoAuth2GrantTypeAsString()The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ConnectorOAuth2Properties.Builder>serializableBuilderClass()ConnectorOAuth2Properties.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
-
oAuth2GrantType
public final ConnectorOAuth2GrantType oAuth2GrantType()
The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.
If the service returns an enum value that is not available in the current SDK version,
oAuth2GrantTypewill returnConnectorOAuth2GrantType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoAuth2GrantTypeAsString().- Returns:
- The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.
- See Also:
ConnectorOAuth2GrantType
-
oAuth2GrantTypeAsString
public final String oAuth2GrantTypeAsString()
The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.
If the service returns an enum value that is not available in the current SDK version,
oAuth2GrantTypewill returnConnectorOAuth2GrantType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoAuth2GrantTypeAsString().- Returns:
- The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.
- See Also:
ConnectorOAuth2GrantType
-
clientCredentialsProperties
public final ClientCredentialsProperties clientCredentialsProperties()
Configuration properties specific to the OAuth2 Client Credentials grant type flow.
- Returns:
- Configuration properties specific to the OAuth2 Client Credentials grant type flow.
-
jwtBearerProperties
public final JWTBearerProperties jwtBearerProperties()
Configuration properties specific to the OAuth2 JWT Bearer grant type flow.
- Returns:
- Configuration properties specific to the OAuth2 JWT Bearer grant type flow.
-
authorizationCodeProperties
public final ConnectorAuthorizationCodeProperties authorizationCodeProperties()
Configuration properties specific to the OAuth2 Authorization Code grant type flow.
- Returns:
- Configuration properties specific to the OAuth2 Authorization Code grant type flow.
-
toBuilder
public ConnectorOAuth2Properties.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConnectorOAuth2Properties.Builder,ConnectorOAuth2Properties>
-
builder
public static ConnectorOAuth2Properties.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConnectorOAuth2Properties.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-