@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
ListGroupsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<GroupFilter> |
getFilters()
Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.
|
Integer |
getMaxResults()
The maximum number of resource group results that are returned by ListGroups in paginated output.
|
String |
getNextToken()
The NextToken value that is returned in a paginated
ListGroups request. |
int |
hashCode() |
void |
setFilters(Collection<GroupFilter> filters)
Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.
|
void |
setMaxResults(Integer maxResults)
The maximum number of resource group results that are returned by ListGroups in paginated output.
|
void |
setNextToken(String nextToken)
The NextToken value that is returned in a paginated
ListGroups request. |
String |
toString()
Returns a string representation of this object.
|
ListGroupsRequest |
withFilters(Collection<GroupFilter> filters)
Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.
|
ListGroupsRequest |
withFilters(GroupFilter... filters)
Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.
|
ListGroupsRequest |
withMaxResults(Integer maxResults)
The maximum number of resource group results that are returned by ListGroups in paginated output.
|
ListGroupsRequest |
withNextToken(String nextToken)
The NextToken value that is returned in a paginated
ListGroups 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 List<GroupFilter> getFilters()
Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.
resource-type
- Filter groups by resource type. Specify up to five resource types in the format
AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.
resource-type
- Filter groups by resource type. Specify up to five resource types in the
format AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.
public void setFilters(Collection<GroupFilter> filters)
Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.
resource-type
- Filter groups by resource type. Specify up to five resource types in the format
AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.
filters
- Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.
resource-type
- Filter groups by resource type. Specify up to five resource types in the
format AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.
public ListGroupsRequest withFilters(GroupFilter... filters)
Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.
resource-type
- Filter groups by resource type. Specify up to five resource types in the format
AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.
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
- Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.
resource-type
- Filter groups by resource type. Specify up to five resource types in the
format AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.
public ListGroupsRequest withFilters(Collection<GroupFilter> filters)
Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.
resource-type
- Filter groups by resource type. Specify up to five resource types in the format
AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.
filters
- Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.
resource-type
- Filter groups by resource type. Specify up to five resource types in the
format AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.
public void setMaxResults(Integer maxResults)
The maximum number of resource group results that are returned by ListGroups in paginated output. By default, this number is 50.
maxResults
- The maximum number of resource group results that are returned by ListGroups in paginated output. By
default, this number is 50.public Integer getMaxResults()
The maximum number of resource group results that are returned by ListGroups in paginated output. By default, this number is 50.
public ListGroupsRequest withMaxResults(Integer maxResults)
The maximum number of resource group results that are returned by ListGroups in paginated output. By default, this number is 50.
maxResults
- The maximum number of resource group results that are returned by ListGroups in paginated output. By
default, this number is 50.public void setNextToken(String nextToken)
The NextToken value that is returned in a paginated ListGroups
request. To get the next page of
results, run the call again, add the NextToken parameter, and specify the NextToken value.
nextToken
- The NextToken value that is returned in a paginated ListGroups
request. To get the next page
of results, run the call again, add the NextToken parameter, and specify the NextToken value.public String getNextToken()
The NextToken value that is returned in a paginated ListGroups
request. To get the next page of
results, run the call again, add the NextToken parameter, and specify the NextToken value.
ListGroups
request. To get the next page
of results, run the call again, add the NextToken parameter, and specify the NextToken value.public ListGroupsRequest withNextToken(String nextToken)
The NextToken value that is returned in a paginated ListGroups
request. To get the next page of
results, run the call again, add the NextToken parameter, and specify the NextToken value.
nextToken
- The NextToken value that is returned in a paginated ListGroups
request. To get the next page
of results, run the call again, add the NextToken parameter, and specify the NextToken value.public String toString()
toString
in class Object
Object.toString()
public ListGroupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.