Class ListApplicationComponentsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.migrationhubstrategy.model.MigrationHubStrategyRequest
-
- software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListApplicationComponentsRequest.Builder,ListApplicationComponentsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListApplicationComponentsRequest extends MigrationHubStrategyRequest implements ToCopyableBuilder<ListApplicationComponentsRequest.Builder,ListApplicationComponentsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListApplicationComponentsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationComponentCriteriaapplicationComponentCriteria()Criteria for filtering the list of application components.StringapplicationComponentCriteriaAsString()Criteria for filtering the list of application components.static ListApplicationComponentsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfilterValue()Specify the value based on the application component criteria type.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)List<Group>groupIdFilter()The group ID specified in to filter on.booleanhasGroupIdFilter()For responses, this returns true if the service returned a value for the GroupIdFilter property.inthashCode()IntegermaxResults()The maximum number of items to include in the response.StringnextToken()The token from a previous call that you use to retrieve the next set of results.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListApplicationComponentsRequest.Builder>serializableBuilderClass()SortOrdersort()Specifies whether to sort by ascending (ASC) or descending (DESC) order.StringsortAsString()Specifies whether to sort by ascending (ASC) or descending (DESC) order.ListApplicationComponentsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
applicationComponentCriteria
public final ApplicationComponentCriteria applicationComponentCriteria()
Criteria for filtering the list of application components.
If the service returns an enum value that is not available in the current SDK version,
applicationComponentCriteriawill returnApplicationComponentCriteria.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapplicationComponentCriteriaAsString().- Returns:
- Criteria for filtering the list of application components.
- See Also:
ApplicationComponentCriteria
-
applicationComponentCriteriaAsString
public final String applicationComponentCriteriaAsString()
Criteria for filtering the list of application components.
If the service returns an enum value that is not available in the current SDK version,
applicationComponentCriteriawill returnApplicationComponentCriteria.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapplicationComponentCriteriaAsString().- Returns:
- Criteria for filtering the list of application components.
- See Also:
ApplicationComponentCriteria
-
filterValue
public final String filterValue()
Specify the value based on the application component criteria type. For example, if
applicationComponentCriteriais set toSERVER_IDandfilterValueis set toserver1, then ListApplicationComponents returns all the application components running on server1.- Returns:
- Specify the value based on the application component criteria type. For example, if
applicationComponentCriteriais set toSERVER_IDandfilterValueis set toserver1, then ListApplicationComponents returns all the application components running on server1.
-
hasGroupIdFilter
public final boolean hasGroupIdFilter()
For responses, this returns true if the service returned a value for the GroupIdFilter property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
groupIdFilter
public final List<Group> groupIdFilter()
The group ID specified in to filter on.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasGroupIdFilter()method.- Returns:
- The group ID specified in to filter on.
-
maxResults
public final Integer maxResults()
The maximum number of items to include in the response. The maximum value is 100.
- Returns:
- The maximum number of items to include in the response. The maximum value is 100.
-
nextToken
public final String nextToken()
The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set
maxResultsto 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.- Returns:
- The token from a previous call that you use to retrieve the next set of results. For example, if a
previous call to this action returned 100 items, but you set
maxResultsto 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.
-
sort
public final SortOrder sort()
Specifies whether to sort by ascending (
ASC) or descending (DESC) order.If the service returns an enum value that is not available in the current SDK version,
sortwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortAsString().- Returns:
- Specifies whether to sort by ascending (
ASC) or descending (DESC) order. - See Also:
SortOrder
-
sortAsString
public final String sortAsString()
Specifies whether to sort by ascending (
ASC) or descending (DESC) order.If the service returns an enum value that is not available in the current SDK version,
sortwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortAsString().- Returns:
- Specifies whether to sort by ascending (
ASC) or descending (DESC) order. - See Also:
SortOrder
-
toBuilder
public ListApplicationComponentsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListApplicationComponentsRequest.Builder,ListApplicationComponentsRequest>- Specified by:
toBuilderin classMigrationHubStrategyRequest
-
builder
public static ListApplicationComponentsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListApplicationComponentsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-