Class DescribePlacementGroupsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.DescribePlacementGroupsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,DryRunSupportedRequest<DescribePlacementGroupsRequest>,Serializable,Cloneable
public class DescribePlacementGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribePlacementGroupsRequest>
Contains the parameters for DescribePlacementGroups.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribePlacementGroupsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribePlacementGroupsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)Request<DescribePlacementGroupsRequest>getDryRunRequest()This method is intended for internal use only.List<Filter>getFilters()One or more filters.List<String>getGroupNames()One or more placement group names.inthashCode()voidsetFilters(Collection<Filter> filters)One or more filters.voidsetGroupNames(Collection<String> groupNames)One or more placement group names.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribePlacementGroupsRequestwithFilters(Filter... filters)One or more filters.DescribePlacementGroupsRequestwithFilters(Collection<Filter> filters)One or more filters.DescribePlacementGroupsRequestwithGroupNames(String... groupNames)One or more placement group names.DescribePlacementGroupsRequestwithGroupNames(Collection<String> groupNames)One or more placement group names.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
getGroupNames
public List<String> getGroupNames()
One or more placement group names.
Default: Describes all your placement groups, or only those otherwise specified.
- Returns:
- One or more placement group names.
Default: Describes all your placement groups, or only those otherwise specified.
-
setGroupNames
public void setGroupNames(Collection<String> groupNames)
One or more placement group names.
Default: Describes all your placement groups, or only those otherwise specified.
- Parameters:
groupNames- One or more placement group names.Default: Describes all your placement groups, or only those otherwise specified.
-
withGroupNames
public DescribePlacementGroupsRequest withGroupNames(String... groupNames)
One or more placement group names.
Default: Describes all your placement groups, or only those otherwise specified.
NOTE: This method appends the values to the existing list (if any). Use
setGroupNames(java.util.Collection)orwithGroupNames(java.util.Collection)if you want to override the existing values.- Parameters:
groupNames- One or more placement group names.Default: Describes all your placement groups, or only those otherwise specified.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withGroupNames
public DescribePlacementGroupsRequest withGroupNames(Collection<String> groupNames)
One or more placement group names.
Default: Describes all your placement groups, or only those otherwise specified.
- Parameters:
groupNames- One or more placement group names.Default: Describes all your placement groups, or only those otherwise specified.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFilters
public List<Filter> getFilters()
One or more filters.
-
group-name- The name of the placement group. -
state- The state of the placement group (pending|available|deleting|deleted). -
strategy- The strategy of the placement group (cluster).
- Returns:
- One or more filters.
-
group-name- The name of the placement group. -
state- The state of the placement group (pending|available|deleting|deleted). -
strategy- The strategy of the placement group (cluster).
-
-
-
setFilters
public void setFilters(Collection<Filter> filters)
One or more filters.
-
group-name- The name of the placement group. -
state- The state of the placement group (pending|available|deleting|deleted). -
strategy- The strategy of the placement group (cluster).
- Parameters:
filters- One or more filters.-
group-name- The name of the placement group. -
state- The state of the placement group (pending|available|deleting|deleted). -
strategy- The strategy of the placement group (cluster).
-
-
-
withFilters
public DescribePlacementGroupsRequest withFilters(Filter... filters)
One or more filters.
-
group-name- The name of the placement group. -
state- The state of the placement group (pending|available|deleting|deleted). -
strategy- The strategy of the placement group (cluster).
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)orwithFilters(java.util.Collection)if you want to override the existing values.- Parameters:
filters- One or more filters.-
group-name- The name of the placement group. -
state- The state of the placement group (pending|available|deleting|deleted). -
strategy- The strategy of the placement group (cluster).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withFilters
public DescribePlacementGroupsRequest withFilters(Collection<Filter> filters)
One or more filters.
-
group-name- The name of the placement group. -
state- The state of the placement group (pending|available|deleting|deleted). -
strategy- The strategy of the placement group (cluster).
- Parameters:
filters- One or more filters.-
group-name- The name of the placement group. -
state- The state of the placement group (pending|available|deleting|deleted). -
strategy- The strategy of the placement group (cluster).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
getDryRunRequest
public Request<DescribePlacementGroupsRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequestin interfaceDryRunSupportedRequest<DescribePlacementGroupsRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribePlacementGroupsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-