@Generated(value="software.amazon.awssdk:codegen") public final class GetInventoryRequest extends SsmRequest implements ToCopyableBuilder<GetInventoryRequest.Builder,GetInventoryRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetInventoryRequest.Builder |
Modifier and Type | Method and Description |
---|---|
List<InventoryAggregator> |
aggregators()
Returns counts of inventory types based on one or more expressions.
|
static GetInventoryRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<InventoryFilter> |
filters()
One or more filters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAggregators()
Returns true if the Aggregators property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasFilters()
Returns true if the Filters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasResultAttributes()
Returns true if the ResultAttributes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
Integer |
maxResults()
The maximum number of items to return for this call.
|
String |
nextToken()
The token for the next set of items to return.
|
List<ResultAttribute> |
resultAttributes()
The list of inventory item types to return.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetInventoryRequest.Builder> |
serializableBuilderClass() |
GetInventoryRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public boolean hasFilters()
public List<InventoryFilter> filters()
One or more filters. Use a filter to return a more specific list of results.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFilters()
to see if a value was sent in this field.
public boolean hasAggregators()
public List<InventoryAggregator> aggregators()
Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an
expression that uses the AWS:InstanceInformation.PlatformType
type, you can see a count of how many
Windows and Linux instances exist in your inventoried fleet.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAggregators()
to see if a value was sent in this field.
AWS:InstanceInformation.PlatformType
type, you can see a
count of how many Windows and Linux instances exist in your inventoried fleet.public boolean hasResultAttributes()
public List<ResultAttribute> resultAttributes()
The list of inventory item types to return.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResultAttributes()
to see if a value was sent in this field.
public String nextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public Integer maxResults()
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
public GetInventoryRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetInventoryRequest.Builder,GetInventoryRequest>
toBuilder
in class SsmRequest
public static GetInventoryRequest.Builder builder()
public static Class<? extends GetInventoryRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.