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 ListConfigurationsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getConfigurationType()
A valid configuration identified by the Discovery Service.List<Filter>
getFilters()
You can filter the list using a key-value format.Integer
getMaxResults()
The total number of items to return.String
getNextToken()
A token to start the list.int
hashCode()
void
setConfigurationType(ConfigurationItemType configurationType)
A valid configuration identified by the Discovery Service.void
setConfigurationType(String configurationType)
A valid configuration identified by the Discovery Service.void
setFilters(Collection<Filter> filters)
You can filter the list using a key-value format.void
setMaxResults(Integer maxResults)
The total number of items to return.void
setNextToken(String nextToken)
A token to start the list.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListConfigurationsRequest
withConfigurationType(ConfigurationItemType configurationType)
A valid configuration identified by the Discovery Service.ListConfigurationsRequest
withConfigurationType(String configurationType)
A valid configuration identified by the Discovery Service.ListConfigurationsRequest
withFilters(Filter... filters)
You can filter the list using a key-value format.ListConfigurationsRequest
withFilters(Collection<Filter> filters)
You can filter the list using a key-value format.ListConfigurationsRequest
withMaxResults(Integer maxResults)
The total number of items to return.ListConfigurationsRequest
withNextToken(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListConfigurationsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-