@Generated(value="software.amazon.awssdk:codegen") public final class CreateConnectionOAuthRequestParameters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateConnectionOAuthRequestParameters.Builder,CreateConnectionOAuthRequestParameters>
Contains the OAuth authorization parameters to use for the connection.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateConnectionOAuthRequestParameters.Builder |
Modifier and Type | Method and Description |
---|---|
String |
authorizationEndpoint()
The URL to the authorization endpoint when OAuth is specified as the authorization type.
|
static CreateConnectionOAuthRequestParameters.Builder |
builder() |
CreateConnectionOAuthClientRequestParameters |
clientParameters()
A
CreateConnectionOAuthClientRequestParameters object that contains the client parameters for OAuth
authorization. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ConnectionOAuthHttpMethod |
httpMethod()
The method to use for the authorization request.
|
String |
httpMethodAsString()
The method to use for the authorization request.
|
ConnectionHttpParameters |
oAuthHttpParameters()
A
ConnectionHttpParameters object that contains details about the additional parameters to use for
the connection. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateConnectionOAuthRequestParameters.Builder> |
serializableBuilderClass() |
CreateConnectionOAuthRequestParameters.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final CreateConnectionOAuthClientRequestParameters clientParameters()
A CreateConnectionOAuthClientRequestParameters
object that contains the client parameters for OAuth
authorization.
CreateConnectionOAuthClientRequestParameters
object that contains the client parameters
for OAuth authorization.public final String authorizationEndpoint()
The URL to the authorization endpoint when OAuth is specified as the authorization type.
public final ConnectionOAuthHttpMethod httpMethod()
The method to use for the authorization request.
If the service returns an enum value that is not available in the current SDK version, httpMethod
will
return ConnectionOAuthHttpMethod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from httpMethodAsString()
.
ConnectionOAuthHttpMethod
public final String httpMethodAsString()
The method to use for the authorization request.
If the service returns an enum value that is not available in the current SDK version, httpMethod
will
return ConnectionOAuthHttpMethod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from httpMethodAsString()
.
ConnectionOAuthHttpMethod
public final ConnectionHttpParameters oAuthHttpParameters()
A ConnectionHttpParameters
object that contains details about the additional parameters to use for
the connection.
ConnectionHttpParameters
object that contains details about the additional parameters to
use for the connection.public CreateConnectionOAuthRequestParameters.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateConnectionOAuthRequestParameters.Builder,CreateConnectionOAuthRequestParameters>
public static CreateConnectionOAuthRequestParameters.Builder builder()
public static Class<? extends CreateConnectionOAuthRequestParameters.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.