@Generated(value="software.amazon.awssdk:codegen") public class ListConfigurationsRequest extends ApplicationDiscoveryRequest implements ToCopyableBuilder<ListConfigurationsRequest.Builder,ListConfigurationsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ListConfigurationsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListConfigurationsRequest.Builder |
builder() |
ConfigurationItemType |
configurationType()
A valid configuration identified by Application Discovery Service.
|
String |
configurationTypeString()
A valid configuration identified by Application Discovery Service.
|
boolean |
equals(Object obj) |
List<Filter> |
filters()
You can filter the request using various logical operators and a key-value format.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxResults()
The total number of items to return.
|
String |
nextToken()
Token to retrieve the next set of results.
|
List<OrderByElement> |
orderBy()
Certain filter criteria return output that can be sorted in ascending or descending order.
|
static Class<? extends ListConfigurationsRequest.Builder> |
serializableBuilderClass() |
ListConfigurationsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public ConfigurationItemType configurationType()
A valid configuration identified by Application Discovery Service.
If the service returns an enum value that is not available in the current SDK version, configurationType
will return ConfigurationItemType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from configurationTypeString()
.
ConfigurationItemType
public String configurationTypeString()
A valid configuration identified by Application Discovery Service.
If the service returns an enum value that is not available in the current SDK version, configurationType
will return ConfigurationItemType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from configurationTypeString()
.
ConfigurationItemType
public List<Filter> filters()
You can filter the request using various logical operators and a key-value format. For example:
{"key": "serverType", "value": "webServer"}
For a complete list of filter options and guidance about using them with this action, see Querying Discovered Configuration Items.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
{"key": "serverType", "value": "webServer"}
For a complete list of filter options and guidance about using them with this action, see Querying Discovered Configuration Items.
public Integer maxResults()
The total number of items to return. The maximum value is 100.
public String nextToken()
Token to retrieve the next set of results. For example, if a previous call to ListConfigurations returned 100
items, but you set ListConfigurationsRequest$maxResults
to 10, you received a set of 10 results
along with a token. Use that token in this query to get the next set of 10.
ListConfigurationsRequest$maxResults
to 10, you received a set of 10
results along with a token. Use that token in this query to get the next set of 10.public List<OrderByElement> orderBy()
Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ListConfigurationsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListConfigurationsRequest.Builder,ListConfigurationsRequest>
toBuilder
in class ApplicationDiscoveryRequest
public static ListConfigurationsRequest.Builder builder()
public static Class<? extends ListConfigurationsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.