@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProxySessionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListProxySessionsResult() |
Modifier and Type | Method and Description |
---|---|
ListProxySessionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token used to retrieve the next page of results.
|
List<ProxySession> |
getProxySessions()
The proxy sessions' details.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token used to retrieve the next page of results.
|
void |
setProxySessions(Collection<ProxySession> proxySessions)
The proxy sessions' details.
|
String |
toString()
Returns a string representation of this object.
|
ListProxySessionsResult |
withNextToken(String nextToken)
The token used to retrieve the next page of results.
|
ListProxySessionsResult |
withProxySessions(Collection<ProxySession> proxySessions)
The proxy sessions' details.
|
ListProxySessionsResult |
withProxySessions(ProxySession... proxySessions)
The proxy sessions' details.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ProxySession> getProxySessions()
The proxy sessions' details.
public void setProxySessions(Collection<ProxySession> proxySessions)
The proxy sessions' details.
proxySessions
- The proxy sessions' details.public ListProxySessionsResult withProxySessions(ProxySession... proxySessions)
The proxy sessions' details.
NOTE: This method appends the values to the existing list (if any). Use
setProxySessions(java.util.Collection)
or withProxySessions(java.util.Collection)
if you want
to override the existing values.
proxySessions
- The proxy sessions' details.public ListProxySessionsResult withProxySessions(Collection<ProxySession> proxySessions)
The proxy sessions' details.
proxySessions
- The proxy sessions' details.public void setNextToken(String nextToken)
The token used to retrieve the next page of results.
nextToken
- The token used to retrieve the next page of results.public String getNextToken()
The token used to retrieve the next page of results.
public ListProxySessionsResult withNextToken(String nextToken)
The token used to retrieve the next page of results.
nextToken
- The token used to retrieve the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListProxySessionsResult clone()