@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeNetworkInterfacePermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output for DescribeNetworkInterfacePermissions.
Constructor and Description |
---|
DescribeNetworkInterfacePermissionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeNetworkInterfacePermissionsResult |
clone() |
boolean |
equals(Object obj) |
List<NetworkInterfacePermission> |
getNetworkInterfacePermissions()
The network interface permissions.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setNetworkInterfacePermissions(Collection<NetworkInterfacePermission> networkInterfacePermissions)
The network interface permissions.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeNetworkInterfacePermissionsResult |
withNetworkInterfacePermissions(Collection<NetworkInterfacePermission> networkInterfacePermissions)
The network interface permissions.
|
DescribeNetworkInterfacePermissionsResult |
withNetworkInterfacePermissions(NetworkInterfacePermission... networkInterfacePermissions)
The network interface permissions.
|
DescribeNetworkInterfacePermissionsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeNetworkInterfacePermissionsResult()
public List<NetworkInterfacePermission> getNetworkInterfacePermissions()
The network interface permissions.
public void setNetworkInterfacePermissions(Collection<NetworkInterfacePermission> networkInterfacePermissions)
The network interface permissions.
networkInterfacePermissions
- The network interface permissions.public DescribeNetworkInterfacePermissionsResult withNetworkInterfacePermissions(NetworkInterfacePermission... networkInterfacePermissions)
The network interface permissions.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfacePermissions(java.util.Collection)
or
withNetworkInterfacePermissions(java.util.Collection)
if you want to override the existing values.
networkInterfacePermissions
- The network interface permissions.public DescribeNetworkInterfacePermissionsResult withNetworkInterfacePermissions(Collection<NetworkInterfacePermission> networkInterfacePermissions)
The network interface permissions.
networkInterfacePermissions
- The network interface permissions.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String getNextToken()
The token to use to retrieve the next page of results.
public DescribeNetworkInterfacePermissionsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String toString()
toString
in class Object
Object.toString()
public DescribeNetworkInterfacePermissionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.