Class CreateConnectionOAuthRequestParameters
- java.lang.Object
-
- software.amazon.awssdk.services.eventbridge.model.CreateConnectionOAuthRequestParameters
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CreateConnectionOAuthRequestParameters.Builder,CreateConnectionOAuthRequestParameters>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateConnectionOAuthRequestParameters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringauthorizationEndpoint()The URL to the authorization endpoint when OAuth is specified as the authorization type.static CreateConnectionOAuthRequestParameters.Builderbuilder()CreateConnectionOAuthClientRequestParametersclientParameters()ACreateConnectionOAuthClientRequestParametersobject that contains the client parameters for OAuth authorization.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ConnectionOAuthHttpMethodhttpMethod()The method to use for the authorization request.StringhttpMethodAsString()The method to use for the authorization request.ConnectionHttpParametersoAuthHttpParameters()AConnectionHttpParametersobject that contains details about the additional parameters to use for the connection.List<SdkField<?>>sdkFields()static Class<? extends CreateConnectionOAuthRequestParameters.Builder>serializableBuilderClass()CreateConnectionOAuthRequestParameters.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
-
clientParameters
public final CreateConnectionOAuthClientRequestParameters clientParameters()
A
CreateConnectionOAuthClientRequestParametersobject that contains the client parameters for OAuth authorization.- Returns:
- A
CreateConnectionOAuthClientRequestParametersobject that contains the client parameters for OAuth authorization.
-
authorizationEndpoint
public final String authorizationEndpoint()
The URL to the authorization endpoint when OAuth is specified as the authorization type.
- Returns:
- The URL to the authorization endpoint when OAuth is specified as the authorization type.
-
httpMethod
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,
httpMethodwill returnConnectionOAuthHttpMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhttpMethodAsString().- Returns:
- The method to use for the authorization request.
- See Also:
ConnectionOAuthHttpMethod
-
httpMethodAsString
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,
httpMethodwill returnConnectionOAuthHttpMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhttpMethodAsString().- Returns:
- The method to use for the authorization request.
- See Also:
ConnectionOAuthHttpMethod
-
oAuthHttpParameters
public final ConnectionHttpParameters oAuthHttpParameters()
A
ConnectionHttpParametersobject that contains details about the additional parameters to use for the connection.- Returns:
- A
ConnectionHttpParametersobject that contains details about the additional parameters to use for the connection.
-
toBuilder
public CreateConnectionOAuthRequestParameters.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateConnectionOAuthRequestParameters.Builder,CreateConnectionOAuthRequestParameters>
-
builder
public static CreateConnectionOAuthRequestParameters.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateConnectionOAuthRequestParameters.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.
-
-