@Generated(value="OracleSDKGenerator", comments="API Version: 20180401") public class ListAlarmsStatusRequest extends BmcRequest<Void>
Example: Click here to see how to use ListAlarmsStatusRequest.
Modifier and Type | Class and Description |
---|---|
static class |
ListAlarmsStatusRequest.Builder |
static class |
ListAlarmsStatusRequest.SortBy
The field to use when sorting returned alarm definitions.
|
static class |
ListAlarmsStatusRequest.SortOrder
The sort order to use when sorting returned alarm definitions.
|
static class |
ListAlarmsStatusRequest.Status
A filter to return only metric streams that match the specified status.
|
Constructor and Description |
---|
ListAlarmsStatusRequest() |
Modifier and Type | Method and Description |
---|---|
static ListAlarmsStatusRequest.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 containing the resources monitored by the metric that you are searching for.
|
Boolean |
getCompartmentIdInSubtree()
When true, returns resources from all compartments and subcompartments.
|
String |
getDisplayName()
A filter to return only resources that match the given display name exactly.
|
String |
getEntityId()
A filter to return only resources that match the given entity
OCID exactly.
|
Integer |
getLimit()
For list pagination.
|
String |
getOpcRequestId()
Customer part of the request identifier token.
|
String |
getPage()
For list pagination.
|
String |
getResourceId()
A filter to return only the resource with the specified
OCID.
|
String |
getServiceName()
A filter to return only resources that match the given service name exactly.
|
ListAlarmsStatusRequest.SortBy |
getSortBy()
The field to use when sorting returned alarm definitions.
|
ListAlarmsStatusRequest.SortOrder |
getSortOrder()
The sort order to use when sorting returned alarm definitions.
|
ListAlarmsStatusRequest.Status |
getStatus()
A filter to return only metric streams that match the specified status.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
ListAlarmsStatusRequest.Builder |
toBuilder()
Return an instance of
ListAlarmsStatusRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public String getCompartmentId()
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
Example: ocid1.compartment.oc1..exampleuniqueID
public String getOpcRequestId()
Customer part of the request identifier token. If you need to contact Oracle about a particular request, please provide the complete request ID.
public Boolean getCompartmentIdInSubtree()
When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false.
public String getPage()
For list pagination. The value of the opc-next-page
response header from the previous
“List” call. For important details about how pagination works, see List
Pagination.
public Integer getLimit()
For list pagination. The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.
Default: 1000
Example: 500
public String getDisplayName()
A filter to return only resources that match the given display name exactly. Use this filter to list an alarm by name. Alternatively, when you know the alarm OCID, use the GetAlarm operation.
public ListAlarmsStatusRequest.SortBy getSortBy()
The field to use when sorting returned alarm definitions. Only one sorting level is provided.
Example: severity
public ListAlarmsStatusRequest.SortOrder getSortOrder()
The sort order to use when sorting returned alarm definitions. Ascending (ASC) or descending (DESC).
Example: ASC
public String getResourceId()
A filter to return only the resource with the specified OCID. The resource must be monitored by the metric that you are searching for.
Example: ocid1.instance.oc1.phx.exampleuniqueID
public String getServiceName()
A filter to return only resources that match the given service name exactly. Use this filter to list all alarms containing metric streams that match the exact service-name dimension.
Example: logging-analytics
public String getEntityId()
A filter to return only resources that match the given entity OCID exactly. The resource (entity) must be monitored by the metric that you are searching for.
Example: ocid1.instance.oc1.phx.exampleuniqueID
public ListAlarmsStatusRequest.Status getStatus()
A filter to return only metric streams that match the specified status. For example, the value “FIRING” returns only firing metric streams.
Example: FIRING
public ListAlarmsStatusRequest.Builder toBuilder()
Return an instance of ListAlarmsStatusRequest.Builder
that allows you to modify request properties.
ListAlarmsStatusRequest.Builder
that allows you to modify request properties.public static ListAlarmsStatusRequest.Builder builder()
Return a new builder for this request object.
public boolean equals(Object o)
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
equals
in class BmcRequest<Void>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<Void>
Copyright © 2016–2024. All rights reserved.