@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSourceNetworksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeSourceNetworksResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSourceNetworksResult |
clone() |
boolean |
equals(Object obj) |
List<SourceNetwork> |
getItems()
An array of Source Networks.
|
String |
getNextToken()
The token of the next Source Networks to retrieve.
|
int |
hashCode() |
void |
setItems(Collection<SourceNetwork> items)
An array of Source Networks.
|
void |
setNextToken(String nextToken)
The token of the next Source Networks to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSourceNetworksResult |
withItems(Collection<SourceNetwork> items)
An array of Source Networks.
|
DescribeSourceNetworksResult |
withItems(SourceNetwork... items)
An array of Source Networks.
|
DescribeSourceNetworksResult |
withNextToken(String nextToken)
The token of the next Source Networks to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SourceNetwork> getItems()
An array of Source Networks.
public void setItems(Collection<SourceNetwork> items)
An array of Source Networks.
items
- An array of Source Networks.public DescribeSourceNetworksResult withItems(SourceNetwork... items)
An array of Source Networks.
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 Networks.public DescribeSourceNetworksResult withItems(Collection<SourceNetwork> items)
An array of Source Networks.
items
- An array of Source Networks.public void setNextToken(String nextToken)
The token of the next Source Networks to retrieve.
nextToken
- The token of the next Source Networks to retrieve.public String getNextToken()
The token of the next Source Networks to retrieve.
public DescribeSourceNetworksResult withNextToken(String nextToken)
The token of the next Source Networks to retrieve.
nextToken
- The token of the next Source Networks to retrieve.public String toString()
toString
in class Object
Object.toString()
public DescribeSourceNetworksResult clone()