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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthRequest.Builderbuilder()final Stringcode()The authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe redirect URL that is specified in the AuthURL and the application client.static Class<? extends AuthRequest.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AuthRequest.Builder,AuthRequest> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-