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_CODEgrant type workflow.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAuthorizationCodeProperties.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringauthorizationCode()An authorization code to be used in the third leg of theAUTHORIZATION_CODEgrant workflow.static AuthorizationCodeProperties.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringredirectUri()The redirect URI where the user gets redirected to by authorization server when issuing an authorization code.List<SdkField<?>>sdkFields()static Class<? extends AuthorizationCodeProperties.Builder>serializableBuilderClass()AuthorizationCodeProperties.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
-
authorizationCode
public final String 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
public final String 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
public AuthorizationCodeProperties.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AuthorizationCodeProperties.Builder,AuthorizationCodeProperties>
-
builder
public static AuthorizationCodeProperties.Builder builder()
-
serializableBuilderClass
public static Class<? extends AuthorizationCodeProperties.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.
-
-