public class ConnectionCredentials
extends java.lang.Object
implements java.io.Serializable
Connection credentials.
Constructor and Description |
---|
ConnectionCredentials() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConnectionToken()
The connection token.
|
java.lang.String |
getExpiry()
The expiration of the token.
|
int |
hashCode() |
void |
setConnectionToken(java.lang.String connectionToken)
The connection token.
|
void |
setExpiry(java.lang.String expiry)
The expiration of the token.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConnectionCredentials |
withConnectionToken(java.lang.String connectionToken)
The connection token.
|
ConnectionCredentials |
withExpiry(java.lang.String expiry)
The expiration of the token.
|
public java.lang.String getConnectionToken()
The connection token.
Constraints:
Length: 1 - 1000
The connection token.
public void setConnectionToken(java.lang.String connectionToken)
The connection token.
Constraints:
Length: 1 - 1000
connectionToken
- The connection token.
public ConnectionCredentials withConnectionToken(java.lang.String connectionToken)
The connection token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1000
connectionToken
- The connection token.
public java.lang.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.
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 void setExpiry(java.lang.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 ConnectionCredentials withExpiry(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.