@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSecurityGroupRulesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeSecurityGroupRulesRequest>
NOOP
Constructor and Description |
---|
DescribeSecurityGroupRulesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSecurityGroupRulesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeSecurityGroupRulesRequest> |
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.
|
String |
getNextToken()
The token returned from a previous paginated request.
|
List<String> |
getSecurityGroupRuleIds()
The IDs of the security group rules.
|
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 |
setNextToken(String nextToken)
The token returned from a previous paginated request.
|
void |
setSecurityGroupRuleIds(Collection<String> securityGroupRuleIds)
The IDs of the security group rules.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSecurityGroupRulesRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeSecurityGroupRulesRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeSecurityGroupRulesRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
DescribeSecurityGroupRulesRequest |
withNextToken(String nextToken)
The token returned from a previous paginated request.
|
DescribeSecurityGroupRulesRequest |
withSecurityGroupRuleIds(Collection<String> securityGroupRuleIds)
The IDs of the security group rules.
|
DescribeSecurityGroupRulesRequest |
withSecurityGroupRuleIds(String... securityGroupRuleIds)
The IDs of the security group rules.
|
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 List<Filter> getFilters()
One or more filters.
group-id
- The ID of the security group.
security-group-rule-id
- The ID of the security group rule.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
group-id
- The ID of the security group.
security-group-rule-id
- The ID of the security group rule.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that
have a tag with the key Owner
and the value TeamA
, specify
tag:Owner
for the filter name and TeamA
for the filter value.
public void setFilters(Collection<Filter> filters)
One or more filters.
group-id
- The ID of the security group.
security-group-rule-id
- The ID of the security group rule.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
filters
- One or more filters.
group-id
- The ID of the security group.
security-group-rule-id
- The ID of the security group rule.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner
and the value TeamA
, specify tag:Owner
for
the filter name and TeamA
for the filter value.
public DescribeSecurityGroupRulesRequest withFilters(Filter... filters)
One or more filters.
group-id
- The ID of the security group.
security-group-rule-id
- The ID of the security group rule.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
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.
group-id
- The ID of the security group.
security-group-rule-id
- The ID of the security group rule.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner
and the value TeamA
, specify tag:Owner
for
the filter name and TeamA
for the filter value.
public DescribeSecurityGroupRulesRequest withFilters(Collection<Filter> filters)
One or more filters.
group-id
- The ID of the security group.
security-group-rule-id
- The ID of the security group rule.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
filters
- One or more filters.
group-id
- The ID of the security group.
security-group-rule-id
- The ID of the security group rule.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner
and the value TeamA
, specify tag:Owner
for
the filter name and TeamA
for the filter value.
public List<String> getSecurityGroupRuleIds()
The IDs of the security group rules.
public void setSecurityGroupRuleIds(Collection<String> securityGroupRuleIds)
The IDs of the security group rules.
securityGroupRuleIds
- The IDs of the security group rules.public DescribeSecurityGroupRulesRequest withSecurityGroupRuleIds(String... securityGroupRuleIds)
The IDs of the security group rules.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupRuleIds(java.util.Collection)
or withSecurityGroupRuleIds(java.util.Collection)
if you want to override the existing values.
securityGroupRuleIds
- The IDs of the security group rules.public DescribeSecurityGroupRulesRequest withSecurityGroupRuleIds(Collection<String> securityGroupRuleIds)
The IDs of the security group rules.
securityGroupRuleIds
- The IDs of the security group rules.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 DescribeSecurityGroupRulesRequest 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. This value can be between 5 and 1000. If this parameter is not specified, then all items are returned. 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. This value can be between 5 and 1000. If this parameter is
not specified, then all items are returned. 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. This value can be between 5 and 1000. If this parameter is not specified, then all items are returned. For more information, see Pagination.
public DescribeSecurityGroupRulesRequest 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. This value can be between 5 and 1000. If this parameter is not specified, then all items are returned. 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. This value can be between 5 and 1000. If this parameter is
not specified, then all items are returned. For more information, see Pagination.public Request<DescribeSecurityGroupRulesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeSecurityGroupRulesRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeSecurityGroupRulesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()