@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 to use to retrieve the next page of results.
|
List<ProxySession> |
getProxySessions()
The proxy session details.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setProxySessions(Collection<ProxySession> proxySessions)
The proxy session details.
|
String |
toString()
Returns a string representation of this object.
|
ListProxySessionsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListProxySessionsResult |
withProxySessions(Collection<ProxySession> proxySessions)
The proxy session details.
|
ListProxySessionsResult |
withProxySessions(ProxySession... proxySessions)
The proxy session details.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ProxySession> getProxySessions()
The proxy session details.
public void setProxySessions(Collection<ProxySession> proxySessions)
The proxy session details.
proxySessions
- The proxy session details.public ListProxySessionsResult withProxySessions(ProxySession... proxySessions)
The proxy session 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 session details.public ListProxySessionsResult withProxySessions(Collection<ProxySession> proxySessions)
The proxy session details.
proxySessions
- The proxy session details.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String getNextToken()
The token to use to retrieve the next page of results.
public ListProxySessionsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListProxySessionsResult clone()
Copyright © 2023. All rights reserved.