@Generated(value="software.amazon.awssdk:codegen") public final class Oauth2Credential extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Oauth2Credential.Builder,Oauth2Credential>
Contains OAuth2 client credential information.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Oauth2Credential.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Oauth2Credential.Builder |
builder() |
String |
clientId()
The client ID of the client application.
|
String |
clientSecret()
The client secret of the client application.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Oauth2Credential.Builder> |
serializableBuilderClass() |
Oauth2Credential.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clientId()
The client ID of the client application.
public final String clientSecret()
The client secret of the client application.
public Oauth2Credential.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Oauth2Credential.Builder,Oauth2Credential>public static Oauth2Credential.Builder builder()
public static Class<? extends Oauth2Credential.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.