Class AuthorizationCodeProperties
java.lang.Object
software.amazon.awssdk.services.glue.model.AuthorizationCodeProperties
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AuthorizationCodeProperties.Builder,AuthorizationCodeProperties>
@Generated("software.amazon.awssdk:codegen")
public final class AuthorizationCodeProperties
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<AuthorizationCodeProperties.Builder,AuthorizationCodeProperties>
The set of properties required for the the OAuth2 AUTHORIZATION_CODE grant type workflow.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringAn authorization code to be used in the third leg of theAUTHORIZATION_CODEgrant workflow.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe redirect URI where the user gets redirected to by authorization server when issuing an authorization code.static Class<? extends AuthorizationCodeProperties.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
authorizationCode
An authorization code to be used in the third leg of the
AUTHORIZATION_CODEgrant workflow. This is a single-use code which becomes invalid once exchanged for an access token, thus it is acceptable to have this value as a request parameter.- Returns:
- An authorization code to be used in the third leg of the
AUTHORIZATION_CODEgrant workflow. This is a single-use code which becomes invalid once exchanged for an access token, thus it is acceptable to have this value as a request parameter.
-
redirectUri
The redirect URI where the user gets redirected to by authorization server when issuing an authorization code. The URI is subsequently used when the authorization code is exchanged for an access token.
- Returns:
- The redirect URI where the user gets redirected to by authorization server when issuing an authorization code. The URI is subsequently used when the authorization code is exchanged for an access token.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AuthorizationCodeProperties.Builder,AuthorizationCodeProperties>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-