@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 |
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 |
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 |
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 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.