Class AuthRequest
- java.lang.Object
-
- software.amazon.awssdk.services.appfabric.model.AuthRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AuthRequest.Builder,AuthRequest>
@Generated("software.amazon.awssdk:codegen") public final class AuthRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AuthRequest.Builder,AuthRequest>
Contains authorization request information, which is required for Amazon Web Services AppFabric to get the OAuth2 access token for an application.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAuthRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthRequest.Builderbuilder()Stringcode()The authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringredirectUri()The redirect URL that is specified in the AuthURL and the application client.List<SdkField<?>>sdkFields()static Class<? extends AuthRequest.Builder>serializableBuilderClass()AuthRequest.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
-
redirectUri
public final String redirectUri()
The redirect URL that is specified in the AuthURL and the application client.
- Returns:
- The redirect URL that is specified in the AuthURL and the application client.
-
code
public final String code()
The authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).
- Returns:
- The authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).
-
toBuilder
public AuthRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AuthRequest.Builder,AuthRequest>
-
builder
public static AuthRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AuthRequest.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.
-
-