@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRootsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRootsResult() |
Modifier and Type | Method and Description |
---|---|
ListRootsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If present, indicates that more output is available than is included in the current response.
|
List<Root> |
getRoots()
A list of roots that are defined in an organization.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response.
|
void |
setRoots(Collection<Root> roots)
A list of roots that are defined in an organization.
|
String |
toString()
Returns a string representation of this object.
|
ListRootsResult |
withNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response.
|
ListRootsResult |
withRoots(Collection<Root> roots)
A list of roots that are defined in an organization.
|
ListRootsResult |
withRoots(Root... roots)
A list of roots that are defined in an organization.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Root> getRoots()
A list of roots that are defined in an organization.
public void setRoots(Collection<Root> roots)
A list of roots that are defined in an organization.
roots
- A list of roots that are defined in an organization.public ListRootsResult withRoots(Root... roots)
A list of roots that are defined in an organization.
NOTE: This method appends the values to the existing list (if any). Use
setRoots(java.util.Collection)
or withRoots(java.util.Collection)
if you want to override the
existing values.
roots
- A list of roots that are defined in an organization.public ListRootsResult withRoots(Collection<Root> roots)
A list of roots that are defined in an organization.
roots
- A list of roots that are defined in an organization.public void setNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken
request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken
response element comes back as null
.
nextToken
- If present, indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken
response element comes
back as null
.public String getNextToken()
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken
request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken
response element comes back as null
.
NextToken
request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken
response element comes
back as null
.public ListRootsResult withNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken
request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken
response element comes back as null
.
nextToken
- If present, indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken
response element comes
back as null
.public String toString()
toString
in class Object
Object.toString()
public ListRootsResult clone()