@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeNetworkInterfacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeNetworkInterfaces.
Constructor and Description |
---|
DescribeNetworkInterfacesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeNetworkInterfacesResult |
clone() |
boolean |
equals(Object obj) |
List<NetworkInterface> |
getNetworkInterfaces()
Information about one or more network interfaces.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
Information about one or more network interfaces.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeNetworkInterfacesResult |
withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
Information about one or more network interfaces.
|
DescribeNetworkInterfacesResult |
withNetworkInterfaces(NetworkInterface... networkInterfaces)
Information about one or more network interfaces.
|
DescribeNetworkInterfacesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<NetworkInterface> getNetworkInterfaces()
Information about one or more network interfaces.
public void setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
Information about one or more network interfaces.
networkInterfaces
- Information about one or more network interfaces.public DescribeNetworkInterfacesResult withNetworkInterfaces(NetworkInterface... networkInterfaces)
Information about one or more network interfaces.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfaces(java.util.Collection)
or withNetworkInterfaces(java.util.Collection)
if
you want to override the existing values.
networkInterfaces
- Information about one or more network interfaces.public DescribeNetworkInterfacesResult withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
Information about one or more network interfaces.
networkInterfaces
- Information about one or more network interfaces.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeNetworkInterfacesResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeNetworkInterfacesResult clone()