@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectionCredentials extends Object implements Serializable, Cloneable, StructuredPojo
Connection credentials.
| Constructor and Description |
|---|
ConnectionCredentials() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionCredentials |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionToken()
The connection token.
|
String |
getExpiry()
The expiration of the token.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConnectionToken(String connectionToken)
The connection token.
|
void |
setExpiry(String expiry)
The expiration of the token.
|
String |
toString()
Returns a string representation of this object.
|
ConnectionCredentials |
withConnectionToken(String connectionToken)
The connection token.
|
ConnectionCredentials |
withExpiry(String expiry)
The expiration of the token.
|
public void setConnectionToken(String connectionToken)
The connection token.
connectionToken - The connection token.public String getConnectionToken()
The connection token.
public ConnectionCredentials withConnectionToken(String connectionToken)
The connection token.
connectionToken - The connection token.public void setExpiry(String expiry)
The expiration of the token.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
expiry - The expiration of the token.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
public String getExpiry()
The expiration of the token.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
public ConnectionCredentials withExpiry(String expiry)
The expiration of the token.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
expiry - The expiration of the token.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
public String toString()
toString in class ObjectObject.toString()public ConnectionCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.