public class ListRemoteAccessSessionsResult extends Object implements Serializable, Cloneable
Represents the response from the server after AWS Device Farm makes a request to return information about the remote access session.
Constructor and Description |
---|
ListRemoteAccessSessionsResult() |
Modifier and Type | Method and Description |
---|---|
ListRemoteAccessSessionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
An identifier that was returned from the previous call to this operation,
which can be used to return the next set of items in the list.
|
List<RemoteAccessSession> |
getRemoteAccessSessions()
A container representing the metadata from the service about each remote
access session you are requesting.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation,
which can be used to return the next set of items in the list.
|
void |
setRemoteAccessSessions(Collection<RemoteAccessSession> remoteAccessSessions)
A container representing the metadata from the service about each remote
access session you are requesting.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListRemoteAccessSessionsResult |
withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation,
which can be used to return the next set of items in the list.
|
ListRemoteAccessSessionsResult |
withRemoteAccessSessions(Collection<RemoteAccessSession> remoteAccessSessions)
A container representing the metadata from the service about each remote
access session you are requesting.
|
ListRemoteAccessSessionsResult |
withRemoteAccessSessions(RemoteAccessSession... remoteAccessSessions)
A container representing the metadata from the service about each remote
access session you are requesting.
|
public List<RemoteAccessSession> getRemoteAccessSessions()
A container representing the metadata from the service about each remote access session you are requesting.
public void setRemoteAccessSessions(Collection<RemoteAccessSession> remoteAccessSessions)
A container representing the metadata from the service about each remote access session you are requesting.
remoteAccessSessions
- A container representing the metadata from the service about each
remote access session you are requesting.public ListRemoteAccessSessionsResult withRemoteAccessSessions(RemoteAccessSession... remoteAccessSessions)
A container representing the metadata from the service about each remote access session you are requesting.
NOTE: This method appends the values to the existing list (if
any). Use setRemoteAccessSessions(java.util.Collection)
or
withRemoteAccessSessions(java.util.Collection)
if you want to
override the existing values.
remoteAccessSessions
- A container representing the metadata from the service about each
remote access session you are requesting.public ListRemoteAccessSessionsResult withRemoteAccessSessions(Collection<RemoteAccessSession> remoteAccessSessions)
A container representing the metadata from the service about each remote access session you are requesting.
remoteAccessSessions
- A container representing the metadata from the service about each
remote access session you are requesting.public void setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
nextToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in
the list.public String getNextToken()
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
public ListRemoteAccessSessionsResult withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
nextToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in
the list.public String toString()
toString
in class Object
Object.toString()
public ListRemoteAccessSessionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.