@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()
The token that you use when you request the next set of private re:Posts.
|
List<SpaceData> |
getSpaces()
An array of structures that contain some information about the private re:Posts in the account.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token that you use when you request the next set of private re:Posts.
|
void |
setSpaces(Collection<SpaceData> spaces)
An array of structures that contain some information about the private re:Posts in the account.
|
String |
toString()
Returns a string representation of this object.
|
ListSpacesResult |
withNextToken(String nextToken)
The token that you use when you request the next set of private re:Posts.
|
ListSpacesResult |
withSpaces(Collection<SpaceData> spaces)
An array of structures that contain some information about the private re:Posts in the account.
|
ListSpacesResult |
withSpaces(SpaceData... spaces)
An array of structures that contain some information about the private re:Posts in the account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
The token that you use when you request the next set of private re:Posts.
nextToken - The token that you use when you request the next set of private re:Posts.public String getNextToken()
The token that you use when you request the next set of private re:Posts.
public ListSpacesResult withNextToken(String nextToken)
The token that you use when you request the next set of private re:Posts.
nextToken - The token that you use when you request the next set of private re:Posts.public List<SpaceData> getSpaces()
An array of structures that contain some information about the private re:Posts in the account.
public void setSpaces(Collection<SpaceData> spaces)
An array of structures that contain some information about the private re:Posts in the account.
spaces - An array of structures that contain some information about the private re:Posts in the account.public ListSpacesResult withSpaces(SpaceData... spaces)
An array of structures that contain some information about the private re:Posts in the account.
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 - An array of structures that contain some information about the private re:Posts in the account.public ListSpacesResult withSpaces(Collection<SpaceData> spaces)
An array of structures that contain some information about the private re:Posts in the account.
spaces - An array of structures that contain some information about the private re:Posts in the account.public String toString()
toString in class ObjectObject.toString()public ListSpacesResult clone()