public class DescribeStaleSecurityGroupsRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<DescribeStaleSecurityGroupsRequest>
DescribeStaleSecurityGroups operation
.
[EC2-VPC only] Describes the stale security group rules for security groups in a specified VPC. Rules are stale when they reference a deleted security group in a peer VPC, or a security group in a peer VPC for which the VPC peering connection has been deleted.
Constructor and Description |
---|
DescribeStaleSecurityGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Request<DescribeStaleSecurityGroupsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.Integer |
getMaxResults()
The maximum number of items to return for this request.
|
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
java.lang.String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeStaleSecurityGroupsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of items to return for this request.
|
DescribeStaleSecurityGroupsRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
DescribeStaleSecurityGroupsRequest |
withVpcId(java.lang.String vpcId)
The ID of the VPC.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId
- The ID of the VPC.public DescribeStaleSecurityGroupsRequest withVpcId(java.lang.String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC.public java.lang.Integer getMaxResults()
Constraints:
Range: 5 - 255
public void setMaxResults(java.lang.Integer maxResults)
Constraints:
Range: 5 - 255
maxResults
- The maximum number of items to return for this request. The request
returns a token that you can specify in a subsequent call to get the
next set of results.public DescribeStaleSecurityGroupsRequest withMaxResults(java.lang.Integer maxResults)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 5 - 255
maxResults
- The maximum number of items to return for this request. The request
returns a token that you can specify in a subsequent call to get the
next set of results.public java.lang.String getNextToken()
Constraints:
Length: 1 - 1024
public void setNextToken(java.lang.String nextToken)
Constraints:
Length: 1 - 1024
nextToken
- The token for the next set of items to return. (You received this
token from a prior call.)public DescribeStaleSecurityGroupsRequest withNextToken(java.lang.String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
nextToken
- The token for the next set of items to return. (You received this
token from a prior call.)public Request<DescribeStaleSecurityGroupsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeStaleSecurityGroupsRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.