@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSourceServersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeSourceServersResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSourceServersResult |
clone() |
boolean |
equals(Object obj) |
List<SourceServer> |
getItems()
An array of Source Servers.
|
String |
getNextToken()
The token of the next Source Server to retrieve.
|
int |
hashCode() |
void |
setItems(Collection<SourceServer> items)
An array of Source Servers.
|
void |
setNextToken(String nextToken)
The token of the next Source Server to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSourceServersResult |
withItems(Collection<SourceServer> items)
An array of Source Servers.
|
DescribeSourceServersResult |
withItems(SourceServer... items)
An array of Source Servers.
|
DescribeSourceServersResult |
withNextToken(String nextToken)
The token of the next Source Server to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SourceServer> getItems()
An array of Source Servers.
public void setItems(Collection<SourceServer> items)
An array of Source Servers.
items
- An array of Source Servers.public DescribeSourceServersResult withItems(SourceServer... items)
An array of Source Servers.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- An array of Source Servers.public DescribeSourceServersResult withItems(Collection<SourceServer> items)
An array of Source Servers.
items
- An array of Source Servers.public void setNextToken(String nextToken)
The token of the next Source Server to retrieve.
nextToken
- The token of the next Source Server to retrieve.public String getNextToken()
The token of the next Source Server to retrieve.
public DescribeSourceServersResult withNextToken(String nextToken)
The token of the next Source Server to retrieve.
nextToken
- The token of the next Source Server to retrieve.public String toString()
toString
in class Object
Object.toString()
public DescribeSourceServersResult clone()