@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeNetworkInterfacePermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeNetworkInterfacePermissionsRequest>
Contains the parameters for DescribeNetworkInterfacePermissions.
NOOP
Constructor and Description |
---|
DescribeNetworkInterfacePermissionsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeNetworkInterfacePermissionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeNetworkInterfacePermissionsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
Integer |
getMaxResults()
The maximum number of items to return for this request.
|
List<String> |
getNetworkInterfacePermissionIds()
The network interface permission IDs.
|
String |
getNextToken()
The token returned from a previous paginated request.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNetworkInterfacePermissionIds(Collection<String> networkInterfacePermissionIds)
The network interface permission IDs.
|
void |
setNextToken(String nextToken)
The token returned from a previous paginated request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeNetworkInterfacePermissionsRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeNetworkInterfacePermissionsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeNetworkInterfacePermissionsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
DescribeNetworkInterfacePermissionsRequest |
withNetworkInterfacePermissionIds(Collection<String> networkInterfacePermissionIds)
The network interface permission IDs.
|
DescribeNetworkInterfacePermissionsRequest |
withNetworkInterfacePermissionIds(String... networkInterfacePermissionIds)
The network interface permission IDs.
|
DescribeNetworkInterfacePermissionsRequest |
withNextToken(String nextToken)
The token returned from a previous paginated request.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DescribeNetworkInterfacePermissionsRequest()
public List<String> getNetworkInterfacePermissionIds()
The network interface permission IDs.
public void setNetworkInterfacePermissionIds(Collection<String> networkInterfacePermissionIds)
The network interface permission IDs.
networkInterfacePermissionIds
- The network interface permission IDs.public DescribeNetworkInterfacePermissionsRequest withNetworkInterfacePermissionIds(String... networkInterfacePermissionIds)
The network interface permission IDs.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfacePermissionIds(java.util.Collection)
or
withNetworkInterfacePermissionIds(java.util.Collection)
if you want to override the existing values.
networkInterfacePermissionIds
- The network interface permission IDs.public DescribeNetworkInterfacePermissionsRequest withNetworkInterfacePermissionIds(Collection<String> networkInterfacePermissionIds)
The network interface permission IDs.
networkInterfacePermissionIds
- The network interface permission IDs.public List<Filter> getFilters()
One or more filters.
network-interface-permission.network-interface-permission-id
- The ID of the permission.
network-interface-permission.network-interface-id
- The ID of the network interface.
network-interface-permission.aws-account-id
- The Amazon Web Services account ID.
network-interface-permission.aws-service
- The Amazon Web Service.
network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
|
EIP-ASSOCIATE
).
network-interface-permission.network-interface-permission-id
- The ID of the permission.
network-interface-permission.network-interface-id
- The ID of the network interface.
network-interface-permission.aws-account-id
- The Amazon Web Services account ID.
network-interface-permission.aws-service
- The Amazon Web Service.
network-interface-permission.permission
- The type of permission (
INSTANCE-ATTACH
| EIP-ASSOCIATE
).
public void setFilters(Collection<Filter> filters)
One or more filters.
network-interface-permission.network-interface-permission-id
- The ID of the permission.
network-interface-permission.network-interface-id
- The ID of the network interface.
network-interface-permission.aws-account-id
- The Amazon Web Services account ID.
network-interface-permission.aws-service
- The Amazon Web Service.
network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
|
EIP-ASSOCIATE
).
filters
- One or more filters.
network-interface-permission.network-interface-permission-id
- The ID of the permission.
network-interface-permission.network-interface-id
- The ID of the network interface.
network-interface-permission.aws-account-id
- The Amazon Web Services account ID.
network-interface-permission.aws-service
- The Amazon Web Service.
network-interface-permission.permission
- The type of permission (
INSTANCE-ATTACH
| EIP-ASSOCIATE
).
public DescribeNetworkInterfacePermissionsRequest withFilters(Filter... filters)
One or more filters.
network-interface-permission.network-interface-permission-id
- The ID of the permission.
network-interface-permission.network-interface-id
- The ID of the network interface.
network-interface-permission.aws-account-id
- The Amazon Web Services account ID.
network-interface-permission.aws-service
- The Amazon Web Service.
network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
|
EIP-ASSOCIATE
).
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- One or more filters.
network-interface-permission.network-interface-permission-id
- The ID of the permission.
network-interface-permission.network-interface-id
- The ID of the network interface.
network-interface-permission.aws-account-id
- The Amazon Web Services account ID.
network-interface-permission.aws-service
- The Amazon Web Service.
network-interface-permission.permission
- The type of permission (
INSTANCE-ATTACH
| EIP-ASSOCIATE
).
public DescribeNetworkInterfacePermissionsRequest withFilters(Collection<Filter> filters)
One or more filters.
network-interface-permission.network-interface-permission-id
- The ID of the permission.
network-interface-permission.network-interface-id
- The ID of the network interface.
network-interface-permission.aws-account-id
- The Amazon Web Services account ID.
network-interface-permission.aws-service
- The Amazon Web Service.
network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
|
EIP-ASSOCIATE
).
filters
- One or more filters.
network-interface-permission.network-interface-permission-id
- The ID of the permission.
network-interface-permission.network-interface-id
- The ID of the network interface.
network-interface-permission.aws-account-id
- The Amazon Web Services account ID.
network-interface-permission.aws-service
- The Amazon Web Service.
network-interface-permission.permission
- The type of permission (
INSTANCE-ATTACH
| EIP-ASSOCIATE
).
public void setNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public String getNextToken()
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
public DescribeNetworkInterfacePermissionsRequest withNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public void setMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. If this parameter is not specified, up to 50 results are returned by default. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. If this parameter is not specified, up to 50 results are
returned by default. For more information, see Pagination.public Integer getMaxResults()
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. If this parameter is not specified, up to 50 results are returned by default. For more information, see Pagination.
public DescribeNetworkInterfacePermissionsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. If this parameter is not specified, up to 50 results are returned by default. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. If this parameter is not specified, up to 50 results are
returned by default. For more information, see Pagination.public Request<DescribeNetworkInterfacePermissionsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeNetworkInterfacePermissionsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeNetworkInterfacePermissionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()