Class ListConfigurationsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.applicationdiscovery.model.ListConfigurationsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListConfigurationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListConfigurationsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListConfigurationsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetConfigurationType()A valid configuration identified by the Discovery Service.List<Filter>getFilters()You can filter the list using a key-value format.IntegergetMaxResults()The total number of items to return.StringgetNextToken()A token to start the list.inthashCode()voidsetConfigurationType(ConfigurationItemType configurationType)A valid configuration identified by the Discovery Service.voidsetConfigurationType(String configurationType)A valid configuration identified by the Discovery Service.voidsetFilters(Collection<Filter> filters)You can filter the list using a key-value format.voidsetMaxResults(Integer maxResults)The total number of items to return.voidsetNextToken(String nextToken)A token to start the list.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListConfigurationsRequestwithConfigurationType(ConfigurationItemType configurationType)A valid configuration identified by the Discovery Service.ListConfigurationsRequestwithConfigurationType(String configurationType)A valid configuration identified by the Discovery Service.ListConfigurationsRequestwithFilters(Filter... filters)You can filter the list using a key-value format.ListConfigurationsRequestwithFilters(Collection<Filter> filters)You can filter the list using a key-value format.ListConfigurationsRequestwithMaxResults(Integer maxResults)The total number of items to return.ListConfigurationsRequestwithNextToken(String nextToken)A token to start the list.-
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
-
setConfigurationType
public void setConfigurationType(String configurationType)
A valid configuration identified by the Discovery Service.
- Parameters:
configurationType- A valid configuration identified by the Discovery Service.- See Also:
ConfigurationItemType
-
getConfigurationType
public String getConfigurationType()
A valid configuration identified by the Discovery Service.
- Returns:
- A valid configuration identified by the Discovery Service.
- See Also:
ConfigurationItemType
-
withConfigurationType
public ListConfigurationsRequest withConfigurationType(String configurationType)
A valid configuration identified by the Discovery Service.
- Parameters:
configurationType- A valid configuration identified by the Discovery Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConfigurationItemType
-
setConfigurationType
public void setConfigurationType(ConfigurationItemType configurationType)
A valid configuration identified by the Discovery Service.
- Parameters:
configurationType- A valid configuration identified by the Discovery Service.- See Also:
ConfigurationItemType
-
withConfigurationType
public ListConfigurationsRequest withConfigurationType(ConfigurationItemType configurationType)
A valid configuration identified by the Discovery Service.
- Parameters:
configurationType- A valid configuration identified by the Discovery Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConfigurationItemType
-
getFilters
public List<Filter> getFilters()
You can filter the list using a key-value format. For example:
{"key": "serverType", "value": "webServer"}You can separate these items by using logical operators.
- Returns:
- You can filter the list using a key-value format.
For example:
{"key": "serverType", "value": "webServer"}You can separate these items by using logical operators.
-
setFilters
public void setFilters(Collection<Filter> filters)
You can filter the list using a key-value format. For example:
{"key": "serverType", "value": "webServer"}You can separate these items by using logical operators.
- Parameters:
filters- You can filter the list using a key-value format. For example:{"key": "serverType", "value": "webServer"}You can separate these items by using logical operators.
-
withFilters
public ListConfigurationsRequest withFilters(Filter... filters)
You can filter the list using a key-value format. For example:
{"key": "serverType", "value": "webServer"}You can separate these items by using logical operators.
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- You can filter the list using a key-value format. For example:{"key": "serverType", "value": "webServer"}You can separate these items by using logical operators.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFilters
public ListConfigurationsRequest withFilters(Collection<Filter> filters)
You can filter the list using a key-value format. For example:
{"key": "serverType", "value": "webServer"}You can separate these items by using logical operators.
- Parameters:
filters- You can filter the list using a key-value format. For example:{"key": "serverType", "value": "webServer"}You can separate these items by using logical operators.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
public void setMaxResults(Integer maxResults)
The total number of items to return. The maximum value is 100.
- Parameters:
maxResults- The total number of items to return. The maximum value is 100.
-
getMaxResults
public Integer getMaxResults()
The total number of items to return. The maximum value is 100.
- Returns:
- The total number of items to return. The maximum value is 100.
-
withMaxResults
public ListConfigurationsRequest withMaxResults(Integer maxResults)
The total number of items to return. The maximum value is 100.
- Parameters:
maxResults- The total number of items to return. The maximum value is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
A token to start the list. Use this token to get the next set of results.
- Parameters:
nextToken- A token to start the list. Use this token to get the next set of results.
-
getNextToken
public String getNextToken()
A token to start the list. Use this token to get the next set of results.
- Returns:
- A token to start the list. Use this token to get the next set of results.
-
withNextToken
public ListConfigurationsRequest withNextToken(String nextToken)
A token to start the list. Use this token to get the next set of results.
- Parameters:
nextToken- A token to start the list. Use this token to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 ListConfigurationsRequest 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()
-
-