@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRoomsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRoomsResult() |
Modifier and Type | Method and Description |
---|---|
ListRoomsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are more rooms than
maxResults , use nextToken in the request to get the next
set. |
List<RoomSummary> |
getRooms()
List of the matching rooms (summary information only).
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are more rooms than
maxResults , use nextToken in the request to get the next
set. |
void |
setRooms(Collection<RoomSummary> rooms)
List of the matching rooms (summary information only).
|
String |
toString()
Returns a string representation of this object.
|
ListRoomsResult |
withNextToken(String nextToken)
If there are more rooms than
maxResults , use nextToken in the request to get the next
set. |
ListRoomsResult |
withRooms(Collection<RoomSummary> rooms)
List of the matching rooms (summary information only).
|
ListRoomsResult |
withRooms(RoomSummary... rooms)
List of the matching rooms (summary information only).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<RoomSummary> getRooms()
List of the matching rooms (summary information only).
public void setRooms(Collection<RoomSummary> rooms)
List of the matching rooms (summary information only).
rooms
- List of the matching rooms (summary information only).public ListRoomsResult withRooms(RoomSummary... rooms)
List of the matching rooms (summary information only).
NOTE: This method appends the values to the existing list (if any). Use
setRooms(java.util.Collection)
or withRooms(java.util.Collection)
if you want to override the
existing values.
rooms
- List of the matching rooms (summary information only).public ListRoomsResult withRooms(Collection<RoomSummary> rooms)
List of the matching rooms (summary information only).
rooms
- List of the matching rooms (summary information only).public void setNextToken(String nextToken)
If there are more rooms than maxResults
, use nextToken
in the request to get the next
set.
nextToken
- If there are more rooms than maxResults
, use nextToken
in the request to get the
next set.public String getNextToken()
If there are more rooms than maxResults
, use nextToken
in the request to get the next
set.
maxResults
, use nextToken
in the request to get
the next set.public ListRoomsResult withNextToken(String nextToken)
If there are more rooms than maxResults
, use nextToken
in the request to get the next
set.
nextToken
- If there are more rooms than maxResults
, use nextToken
in the request to get the
next set.public String toString()
toString
in class Object
Object.toString()
public ListRoomsResult clone()