@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Oauth2Credential extends Object implements Serializable, Cloneable, StructuredPojo
Contains OAuth2 client credential information.
Constructor and Description |
---|
Oauth2Credential() |
Modifier and Type | Method and Description |
---|---|
Oauth2Credential |
clone() |
boolean |
equals(Object obj) |
String |
getClientId()
The client ID of the client application.
|
String |
getClientSecret()
The client secret of the client application.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientId(String clientId)
The client ID of the client application.
|
void |
setClientSecret(String clientSecret)
The client secret of the client application.
|
String |
toString()
Returns a string representation of this object.
|
Oauth2Credential |
withClientId(String clientId)
The client ID of the client application.
|
Oauth2Credential |
withClientSecret(String clientSecret)
The client secret of the client application.
|
public void setClientId(String clientId)
The client ID of the client application.
clientId
- The client ID of the client application.public String getClientId()
The client ID of the client application.
public Oauth2Credential withClientId(String clientId)
The client ID of the client application.
clientId
- The client ID of the client application.public void setClientSecret(String clientSecret)
The client secret of the client application.
clientSecret
- The client secret of the client application.public String getClientSecret()
The client secret of the client application.
public Oauth2Credential withClientSecret(String clientSecret)
The client secret of the client application.
clientSecret
- The client secret of the client application.public String toString()
toString
in class Object
Object.toString()
public Oauth2Credential clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.