@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchRoomsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchRoomsResult() |
Modifier and Type | Method and Description |
---|---|
SearchRoomsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token returned to indicate that there is more data available.
|
List<RoomData> |
getRooms()
The rooms that meet the specified set of filter criteria, in sort order.
|
Integer |
getTotalCount()
The total number of rooms returned.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token returned to indicate that there is more data available.
|
void |
setRooms(Collection<RoomData> rooms)
The rooms that meet the specified set of filter criteria, in sort order.
|
void |
setTotalCount(Integer totalCount)
The total number of rooms returned.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SearchRoomsResult |
withNextToken(String nextToken)
The token returned to indicate that there is more data available.
|
SearchRoomsResult |
withRooms(Collection<RoomData> rooms)
The rooms that meet the specified set of filter criteria, in sort order.
|
SearchRoomsResult |
withRooms(RoomData... rooms)
The rooms that meet the specified set of filter criteria, in sort order.
|
SearchRoomsResult |
withTotalCount(Integer totalCount)
The total number of rooms returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<RoomData> getRooms()
The rooms that meet the specified set of filter criteria, in sort order.
public void setRooms(Collection<RoomData> rooms)
The rooms that meet the specified set of filter criteria, in sort order.
rooms
- The rooms that meet the specified set of filter criteria, in sort order.public SearchRoomsResult withRooms(RoomData... rooms)
The rooms that meet the specified set of filter criteria, in sort order.
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
- The rooms that meet the specified set of filter criteria, in sort order.public SearchRoomsResult withRooms(Collection<RoomData> rooms)
The rooms that meet the specified set of filter criteria, in sort order.
rooms
- The rooms that meet the specified set of filter criteria, in sort order.public void setNextToken(String nextToken)
The token returned to indicate that there is more data available.
nextToken
- The token returned to indicate that there is more data available.public String getNextToken()
The token returned to indicate that there is more data available.
public SearchRoomsResult withNextToken(String nextToken)
The token returned to indicate that there is more data available.
nextToken
- The token returned to indicate that there is more data available.public void setTotalCount(Integer totalCount)
The total number of rooms returned.
totalCount
- The total number of rooms returned.public Integer getTotalCount()
The total number of rooms returned.
public SearchRoomsResult withTotalCount(Integer totalCount)
The total number of rooms returned.
totalCount
- The total number of rooms returned.public String toString()
toString
in class Object
Object.toString()
public SearchRoomsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.