Class ListOccOverviewsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.capacitymanagement.requests.ListOccOverviewsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public class ListOccOverviewsRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/capacitymanagement/ListOccOverviewsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccOverviewsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListOccOverviewsRequest.Builderstatic classListOccOverviewsRequest.SortByThe field to sort by.
-
Constructor Summary
Constructors Constructor Description ListOccOverviewsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListOccOverviewsRequest.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()The ocid of the compartment or tenancy in which resources are to be listed.DategetFrom()The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.IntegergetLimit()The maximum number of items to return.NamespacegetNamespace()The namespace by which we would filter the list.StringgetOpcRequestId()The client request ID for tracing.StringgetPage()A token representing the position at which to start retrieving results.ListOccOverviewsRequest.SortBygetSortBy()The field to sort by.SortOrdergetSortOrder()The sort order to use, either ‘ASC’ or ‘DESC’.DategetTo()The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.StringgetWorkloadType()Workload type using the resources in an availability catalog can be filtered.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListOccOverviewsRequest.BuildertoBuilder()Return an instance ofListOccOverviewsRequest.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
-
getNamespace
public Namespace getNamespace()
The namespace by which we would filter the list.
-
getCompartmentId
public String getCompartmentId()
The ocid of the compartment or tenancy in which resources are to be listed.This will also be used for authorization purposes.
-
getFrom
public Date getFrom()
The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.
-
getTo
public Date getTo()
The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.
-
getWorkloadType
public String getWorkloadType()
Workload type using the resources in an availability catalog can be filtered.
-
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 opc-next-page header field of a previous response.
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.The only valid characters for request IDs are letters, numbers, underscore, and dash.
-
getSortOrder
public SortOrder getSortOrder()
The sort order to use, either ‘ASC’ or ‘DESC’.
-
getSortBy
public ListOccOverviewsRequest.SortBy getSortBy()
The field to sort by.Only one sort order may be provided. The default order for periodValue is chronological order(latest month item at the end).
-
toBuilder
public ListOccOverviewsRequest.Builder toBuilder()
Return an instance ofListOccOverviewsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListOccOverviewsRequest.Builderthat allows you to modify request properties.
-
builder
public static ListOccOverviewsRequest.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>
-
-