Class ListInventoryResourcesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.fleetappsmanagement.requests.ListInventoryResourcesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20250228") public class ListInventoryResourcesRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/fleetappsmanagement/ListInventoryResourcesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListInventoryResourcesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListInventoryResourcesRequest.Builder
-
Constructor Summary
Constructors Constructor Description ListInventoryResourcesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListInventoryResourcesRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetCompartmentId()A filter to return only resources whose base Compartment ID(TenancyId) matches the given base Compartment ID.List<String>getDefinedTagEquals()A list of tag filters to apply.StringgetDisplayName()A filter to return only resources that match the entire display name given.List<String>getFreeformTagEquals()A list of tag filters to apply.List<String>getInventoryProperties()A list of inventory properties filters to apply.StringgetLifecycleState()A filter to return only resources their lifecycleState matches the given lifecycleState.IntegergetLimit()The maximum number of items to return.StringgetMatchingCriteria()Fetch resources matching ANY or ALL criteria passed as params in “tags” and “inventoryProperties”.StringgetOpcRequestId()The client request ID for tracing.StringgetPage()A token representing the position at which to start retrieving results.StringgetResourceCompartmentId()A filter to return only resources whose resource Compartment ID matches the given resource Compartment ID.StringgetResourceRegion()Resource RegionInventoryResourceSortBygetSortBy()The field to sort by.SortOrdergetSortOrder()The sort order to use, either ‘ASC’ or ‘DESC’.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListInventoryResourcesRequest.BuildertoBuilder()Return an instance ofListInventoryResourcesRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getCompartmentId
public String getCompartmentId()
A filter to return only resources whose base Compartment ID(TenancyId) matches the given base Compartment ID.
-
getResourceCompartmentId
public String getResourceCompartmentId()
A filter to return only resources whose resource Compartment ID matches the given resource Compartment ID.
-
getLifecycleState
public String getLifecycleState()
A filter to return only resources their lifecycleState matches the given lifecycleState.
-
getDisplayName
public String getDisplayName()
A filter to return only resources that match the entire display name given.
-
getResourceRegion
public String getResourceRegion()
Resource Region
-
getDefinedTagEquals
public List<String> getDefinedTagEquals()
A list of tag filters to apply.Only resources with a defined tag matching the value will be returned. Each item in the list has the format “{namespace}.{tagName}={value}”. All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as “OR”. Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as “AND”. Example: Identification.Development=Yes
-
getFreeformTagEquals
public List<String> getFreeformTagEquals()
A list of tag filters to apply.Only resources with a freeform tag matching the value will be returned. The key for each tag is “{tagName}.{value}”. All inputs are case-insensitive. Multiple values for the same tag name are interpreted as “OR”. Values for different tag names are interpreted as “AND”.
-
getInventoryProperties
public List<String> getInventoryProperties()
A list of inventory properties filters to apply.The key for each inventory property and value for each resource type is “{resourceType}.{inventoryProperty}={value}”. Example: Instance.displayName=TEST_INSTANCE
-
getMatchingCriteria
public String getMatchingCriteria()
Fetch resources matching ANY or ALL criteria passed as params in “tags” and “inventoryProperties”.Example: matchingCriteria=ANY
-
getLimit
public Integer getLimit()
The maximum number of items to return.
-
getPage
public String getPage()
A token representing the position at which to start retrieving results.This must come from the opc-next-page header field of a previous response.
-
getSortOrder
public SortOrder getSortOrder()
The sort order to use, either ‘ASC’ or ‘DESC’.
-
getSortBy
public InventoryResourceSortBy getSortBy()
The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.
-
toBuilder
public ListInventoryResourcesRequest.Builder toBuilder()
Return an instance ofListInventoryResourcesRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListInventoryResourcesRequest.Builderthat allows you to modify request properties.
-
builder
public static ListInventoryResourcesRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-