Class Oauth2Credential
- java.lang.Object
-
- software.amazon.awssdk.services.appfabric.model.Oauth2Credential
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Oauth2Credential.Builder,Oauth2Credential>
@Generated("software.amazon.awssdk:codegen") public final class Oauth2Credential extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Oauth2Credential.Builder,Oauth2Credential>
Contains OAuth2 client credential information.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOauth2Credential.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Oauth2Credential.Builderbuilder()StringclientId()The client ID of the client application.StringclientSecret()The client secret of the client application.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Oauth2Credential.Builder>serializableBuilderClass()Oauth2Credential.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
-
clientId
public final String clientId()
The client ID of the client application.
- Returns:
- The client ID of the client application.
-
clientSecret
public final String clientSecret()
The client secret of the client application.
- Returns:
- The client secret of the client application.
-
toBuilder
public Oauth2Credential.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Oauth2Credential.Builder,Oauth2Credential>
-
builder
public static Oauth2Credential.Builder builder()
-
serializableBuilderClass
public static Class<? extends Oauth2Credential.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.
-
-