@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 results to return in a single call.
|
String |
getNextToken()
The token for the next page of results.
|
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 results to return in a single call.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
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 results to return in a single call.
|
DescribeSecurityGroupRulesRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
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 for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public DescribeSecurityGroupRulesRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return in a single call. To retrieve the remaining results, make another request
with the returned NextToken
value. This value can be between 5 and 1000. If this parameter is not
specified, then all results are returned.
maxResults
- The maximum number of results to return in a single call. To retrieve the remaining results, make another
request with the returned NextToken
value. This value can be between 5 and 1000. If this
parameter is not specified, then all results are returned.public Integer getMaxResults()
The maximum number of results to return in a single call. To retrieve the remaining results, make another request
with the returned NextToken
value. This value can be between 5 and 1000. If this parameter is not
specified, then all results are returned.
NextToken
value. This value can be between 5 and 1000. If this
parameter is not specified, then all results are returned.public DescribeSecurityGroupRulesRequest withMaxResults(Integer maxResults)
The maximum number of results to return in a single call. To retrieve the remaining results, make another request
with the returned NextToken
value. This value can be between 5 and 1000. If this parameter is not
specified, then all results are returned.
maxResults
- The maximum number of results to return in a single call. To retrieve the remaining results, make another
request with the returned NextToken
value. This value can be between 5 and 1000. If this
parameter is not specified, then all results are returned.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()