@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSpacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSpacesResult() |
Modifier and Type | Method and Description |
---|---|
ListSpacesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the previous response was truncated, you will receive this token.
|
List<SpaceDetails> |
getSpaces()
The list of spaces.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the previous response was truncated, you will receive this token.
|
void |
setSpaces(Collection<SpaceDetails> spaces)
The list of spaces.
|
String |
toString()
Returns a string representation of this object.
|
ListSpacesResult |
withNextToken(String nextToken)
If the previous response was truncated, you will receive this token.
|
ListSpacesResult |
withSpaces(Collection<SpaceDetails> spaces)
The list of spaces.
|
ListSpacesResult |
withSpaces(SpaceDetails... spaces)
The list of spaces.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SpaceDetails> getSpaces()
The list of spaces.
public void setSpaces(Collection<SpaceDetails> spaces)
The list of spaces.
spaces
- The list of spaces.public ListSpacesResult withSpaces(SpaceDetails... spaces)
The list of spaces.
NOTE: This method appends the values to the existing list (if any). Use
setSpaces(java.util.Collection)
or withSpaces(java.util.Collection)
if you want to override the
existing values.
spaces
- The list of spaces.public ListSpacesResult withSpaces(Collection<SpaceDetails> spaces)
The list of spaces.
spaces
- The list of spaces.public void setNextToken(String nextToken)
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
nextToken
- If the previous response was truncated, you will receive this token. Use it in your next request to
receive the next set of results.public String getNextToken()
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
public ListSpacesResult withNextToken(String nextToken)
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
nextToken
- If the previous response was truncated, you will receive this token. Use it in your next request to
receive the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListSpacesResult clone()