@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeServersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeServersResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeServersResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
NextToken is a string that is returned in some command responses.
|
List<Server> |
getServers()
Contains the response to a
DescribeServers request. |
int |
hashCode() |
void |
setNextToken(String nextToken)
NextToken is a string that is returned in some command responses.
|
void |
setServers(Collection<Server> servers)
Contains the response to a
DescribeServers request. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeServersResult |
withNextToken(String nextToken)
NextToken is a string that is returned in some command responses.
|
DescribeServersResult |
withServers(Collection<Server> servers)
Contains the response to a
DescribeServers request. |
DescribeServersResult |
withServers(Server... servers)
Contains the response to a
DescribeServers request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Server> getServers()
Contains the response to a DescribeServers request.
DescribeServers request.public void setServers(Collection<Server> servers)
Contains the response to a DescribeServers request.
servers - Contains the response to a DescribeServers request.public DescribeServersResult withServers(Server... servers)
Contains the response to a DescribeServers request.
NOTE: This method appends the values to the existing list (if any). Use
setServers(java.util.Collection) or withServers(java.util.Collection) if you want to override
the existing values.
servers - Contains the response to a DescribeServers request.public DescribeServersResult withServers(Collection<Server> servers)
Contains the response to a DescribeServers request.
servers - Contains the response to a DescribeServers request.public void setNextToken(String nextToken)
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeServers again, and assign the token from the previous results as the value of the
nextToken parameter. If there are no more results, the response object's nextToken
parameter value is null. Setting a nextToken value that was not returned in your
previous results causes an InvalidNextTokenException to occur.
nextToken - NextToken is a string that is returned in some command responses. It indicates that not all entries have
been returned, and that you must run at least one more request to get remaining items. To get remaining
results, call DescribeServers again, and assign the token from the previous results as the
value of the nextToken parameter. If there are no more results, the response object's
nextToken parameter value is null. Setting a nextToken value that
was not returned in your previous results causes an InvalidNextTokenException to occur.public String getNextToken()
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeServers again, and assign the token from the previous results as the value of the
nextToken parameter. If there are no more results, the response object's nextToken
parameter value is null. Setting a nextToken value that was not returned in your
previous results causes an InvalidNextTokenException to occur.
DescribeServers again, and assign the token from the previous results as the
value of the nextToken parameter. If there are no more results, the response object's
nextToken parameter value is null. Setting a nextToken value that
was not returned in your previous results causes an InvalidNextTokenException to occur.public DescribeServersResult withNextToken(String nextToken)
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeServers again, and assign the token from the previous results as the value of the
nextToken parameter. If there are no more results, the response object's nextToken
parameter value is null. Setting a nextToken value that was not returned in your
previous results causes an InvalidNextTokenException to occur.
nextToken - NextToken is a string that is returned in some command responses. It indicates that not all entries have
been returned, and that you must run at least one more request to get remaining items. To get remaining
results, call DescribeServers again, and assign the token from the previous results as the
value of the nextToken parameter. If there are no more results, the response object's
nextToken parameter value is null. Setting a nextToken value that
was not returned in your previous results causes an InvalidNextTokenException to occur.public String toString()
toString in class ObjectObject.toString()public DescribeServersResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.