@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RefreshTokenRequestBody extends Object implements Serializable, Cloneable, StructuredPojo
Describes a refresh token.
Constructor and Description |
---|
RefreshTokenRequestBody() |
Modifier and Type | Method and Description |
---|---|
RefreshTokenRequestBody |
clone() |
boolean |
equals(Object obj) |
String |
getClientId()
The ID of the client to request the token from.
|
String |
getToken()
The token to use to refresh a previously issued access token that might have expired.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientId(String clientId)
The ID of the client to request the token from.
|
void |
setToken(String token)
The token to use to refresh a previously issued access token that might have expired.
|
String |
toString()
Returns a string representation of this object.
|
RefreshTokenRequestBody |
withClientId(String clientId)
The ID of the client to request the token from.
|
RefreshTokenRequestBody |
withToken(String token)
The token to use to refresh a previously issued access token that might have expired.
|
public void setToken(String token)
The token to use to refresh a previously issued access token that might have expired.
token
- The token to use to refresh a previously issued access token that might have expired.public String getToken()
The token to use to refresh a previously issued access token that might have expired.
public RefreshTokenRequestBody withToken(String token)
The token to use to refresh a previously issued access token that might have expired.
token
- The token to use to refresh a previously issued access token that might have expired.public void setClientId(String clientId)
The ID of the client to request the token from.
clientId
- The ID of the client to request the token from.public String getClientId()
The ID of the client to request the token from.
public RefreshTokenRequestBody withClientId(String clientId)
The ID of the client to request the token from.
clientId
- The ID of the client to request the token from.public String toString()
toString
in class Object
Object.toString()
public RefreshTokenRequestBody clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.