Class ListOccmDemandSignalsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.capacitymanagement.requests.ListOccmDemandSignalsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public class ListOccmDemandSignalsRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.67.0/capacitymanagement/ListOccmDemandSignalsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccmDemandSignalsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListOccmDemandSignalsRequest.Builder
static class
ListOccmDemandSignalsRequest.SortBy
The field to sort the response of List Demand Signal API.
-
Constructor Summary
Constructors Constructor Description ListOccmDemandSignalsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListOccmDemandSignalsRequest.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()
The ocid of the compartment or tenancy in which resources are to be listed.String
getDisplayName()
A filter to return only the resources that match the entire display name.String
getId()
A query parameter to filter the list of demand signals based on it’s OCID.String
getLifecycleDetails()
A query parameter to filter the list of demand signals based on its state.Integer
getLimit()
The maximum number of items to return.String
getOpcRequestId()
The client request ID for tracing.String
getPage()
A token representing the position at which to start retrieving results.ListOccmDemandSignalsRequest.SortBy
getSortBy()
The field to sort the response of List Demand Signal API.SortOrder
getSortOrder()
The sort order to use, either ‘ASC’ or ‘DESC’.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListOccmDemandSignalsRequest.Builder
toBuilder()
Return an instance ofListOccmDemandSignalsRequest.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()
The ocid of the compartment or tenancy in which resources are to be listed.This will also be used for authorization purposes.
-
getId
public String getId()
A query parameter to filter the list of demand signals based on it’s OCID.
-
getLifecycleDetails
public String getLifecycleDetails()
A query parameter to filter the list of demand signals based on its state.
-
getDisplayName
public String getDisplayName()
A filter to return only the resources that match the entire display name.The match is not case sensitive.
-
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 ListOccmDemandSignalsRequest.SortBy getSortBy()
The field to sort the response of List Demand Signal API.Only one sort order may be provided. The default order for timeCreated is reverse chronological order (latest date at the top). The default order for displayName is case sensitive alphabetical order.
-
toBuilder
public ListOccmDemandSignalsRequest.Builder toBuilder()
Return an instance ofListOccmDemandSignalsRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListOccmDemandSignalsRequest.Builder
that allows you to modify request properties.
-
builder
public static ListOccmDemandSignalsRequest.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>
-
-