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/3.67.1/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 class
ListInventoryResourcesRequest.Builder
-
Constructor Summary
Constructors Constructor Description ListInventoryResourcesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListInventoryResourcesRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getCompartmentId()
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.String
getDisplayName()
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.String
getLifecycleState()
A filter to return only resources their lifecycleState matches the given lifecycleState.Integer
getLimit()
The maximum number of items to return.String
getMatchingCriteria()
Fetch resources matching ANY or ALL criteria passed as params in “tags” and “inventoryProperties”.String
getOpcRequestId()
The client request ID for tracing.String
getPage()
A token representing the position at which to start retrieving results.String
getResourceCompartmentId()
A filter to return only resources whose resource Compartment ID matches the given resource Compartment ID.String
getResourceRegion()
Resource RegionInventoryResourceSortBy
getSortBy()
The field to sort by.SortOrder
getSortOrder()
The sort order to use, either ‘ASC’ or ‘DESC’.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListInventoryResourcesRequest.Builder
toBuilder()
Return an instance ofListInventoryResourcesRequest.Builder
that allows you to modify request properties.String
toString()
-
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.Builder
that allows you to modify request properties.- Returns:
- instance of
ListInventoryResourcesRequest.Builder
that 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:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-