@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSecurityGroupsForVpcRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<GetSecurityGroupsForVpcRequest>
NOOP
Constructor and Description |
---|
GetSecurityGroupsForVpcRequest() |
Modifier and Type | Method and Description |
---|---|
GetSecurityGroupsForVpcRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<GetSecurityGroupsForVpcRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
Integer |
getMaxResults()
The maximum number of items to return for this request.
|
String |
getNextToken()
The token returned from a previous paginated request.
|
String |
getVpcId()
The VPC ID where the security group can be used.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNextToken(String nextToken)
The token returned from a previous paginated request.
|
void |
setVpcId(String vpcId)
The VPC ID where the security group can be used.
|
String |
toString()
Returns a string representation of this object.
|
GetSecurityGroupsForVpcRequest |
withFilters(Collection<Filter> filters)
The filters.
|
GetSecurityGroupsForVpcRequest |
withFilters(Filter... filters)
The filters.
|
GetSecurityGroupsForVpcRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
GetSecurityGroupsForVpcRequest |
withNextToken(String nextToken)
The token returned from a previous paginated request.
|
GetSecurityGroupsForVpcRequest |
withVpcId(String vpcId)
The VPC ID where the security group can be used.
|
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 void setVpcId(String vpcId)
The VPC ID where the security group can be used.
vpcId
- The VPC ID where the security group can be used.public String getVpcId()
The VPC ID where the security group can be used.
public GetSecurityGroupsForVpcRequest withVpcId(String vpcId)
The VPC ID where the security group can be used.
vpcId
- The VPC ID where the security group can be used.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 GetSecurityGroupsForVpcRequest 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. 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. 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. For more information, see Pagination.
public GetSecurityGroupsForVpcRequest 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. 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. For more information, see Pagination.public List<Filter> getFilters()
The filters. If using multiple filters, the results include security groups which match all filters.
group-id
: The security group ID.
description
: The security group's description.
group-name
: The security group name.
owner-id
: The security group owner ID.
primary-vpc-id
: The VPC ID in which the security group was created.
group-id
: The security group ID.
description
: The security group's description.
group-name
: The security group name.
owner-id
: The security group owner ID.
primary-vpc-id
: The VPC ID in which the security group was created.
public void setFilters(Collection<Filter> filters)
The filters. If using multiple filters, the results include security groups which match all filters.
group-id
: The security group ID.
description
: The security group's description.
group-name
: The security group name.
owner-id
: The security group owner ID.
primary-vpc-id
: The VPC ID in which the security group was created.
filters
- The filters. If using multiple filters, the results include security groups which match all filters.
group-id
: The security group ID.
description
: The security group's description.
group-name
: The security group name.
owner-id
: The security group owner ID.
primary-vpc-id
: The VPC ID in which the security group was created.
public GetSecurityGroupsForVpcRequest withFilters(Filter... filters)
The filters. If using multiple filters, the results include security groups which match all filters.
group-id
: The security group ID.
description
: The security group's description.
group-name
: The security group name.
owner-id
: The security group owner ID.
primary-vpc-id
: The VPC ID in which the security group was created.
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
- The filters. If using multiple filters, the results include security groups which match all filters.
group-id
: The security group ID.
description
: The security group's description.
group-name
: The security group name.
owner-id
: The security group owner ID.
primary-vpc-id
: The VPC ID in which the security group was created.
public GetSecurityGroupsForVpcRequest withFilters(Collection<Filter> filters)
The filters. If using multiple filters, the results include security groups which match all filters.
group-id
: The security group ID.
description
: The security group's description.
group-name
: The security group name.
owner-id
: The security group owner ID.
primary-vpc-id
: The VPC ID in which the security group was created.
filters
- The filters. If using multiple filters, the results include security groups which match all filters.
group-id
: The security group ID.
description
: The security group's description.
group-name
: The security group name.
owner-id
: The security group owner ID.
primary-vpc-id
: The VPC ID in which the security group was created.
public Request<GetSecurityGroupsForVpcRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<GetSecurityGroupsForVpcRequest>
public String toString()
toString
in class Object
Object.toString()
public GetSecurityGroupsForVpcRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()