Class ListAvailabilityHistoriesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.managementagent.requests.ListAvailabilityHistoriesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200202") public class ListAvailabilityHistoriesRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.76.0/managementagent/ListAvailabilityHistoriesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListAvailabilityHistoriesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListAvailabilityHistoriesRequest.Builderstatic classListAvailabilityHistoriesRequest.SortByThe field to sort by.static classListAvailabilityHistoriesRequest.SortOrderThe sort order to use, either ‘ASC’ or ‘DESC’.
-
Constructor Summary
Constructors Constructor Description ListAvailabilityHistoriesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListAvailabilityHistoriesRequest.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’.IntegergetLimit()The maximum number of items to return.StringgetManagementAgentId()Unique Management Agent identifierStringgetOpcRequestId()The client request ID for tracing.StringgetPage()The page token representing the page at which to start retrieving results.ListAvailabilityHistoriesRequest.SortBygetSortBy()The field to sort by.ListAvailabilityHistoriesRequest.SortOrdergetSortOrder()The sort order to use, either ‘ASC’ or ‘DESC’.DategetTimeAvailabilityStatusEndedGreaterThan()Filter to limit the availability history results to that of time after the input time including the boundary record.DategetTimeAvailabilityStatusStartedLessThan()Filter to limit the availability history results to that of time before the input time including the boundary record Defaulted to current date.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListAvailabilityHistoriesRequest.BuildertoBuilder()Return an instance ofListAvailabilityHistoriesRequest.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
-
getManagementAgentId
public String getManagementAgentId()
Unique Management Agent identifier
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.
-
getTimeAvailabilityStatusEndedGreaterThan
public Date getTimeAvailabilityStatusEndedGreaterThan()
Filter to limit the availability history results to that of time after the input time including the boundary record.Defaulted to current date minus one year. The date and time to be given as described in RFC 3339, section 5.6.
-
getTimeAvailabilityStatusStartedLessThan
public Date getTimeAvailabilityStatusStartedLessThan()
Filter to limit the availability history results to that of time before the input time including the boundary record Defaulted to current date.The date and time to be given as described in RFC 3339, section 5.6.
-
getLimit
public Integer getLimit()
The maximum number of items to return.
-
getPage
public String getPage()
The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call.
-
getSortOrder
public ListAvailabilityHistoriesRequest.SortOrder getSortOrder()
The sort order to use, either ‘ASC’ or ‘DESC’.
-
getSortBy
public ListAvailabilityHistoriesRequest.SortBy getSortBy()
The field to sort by.Default order for timeAvailabilityStatusStarted is descending.
-
toBuilder
public ListAvailabilityHistoriesRequest.Builder toBuilder()
Return an instance ofListAvailabilityHistoriesRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListAvailabilityHistoriesRequest.Builderthat allows you to modify request properties.
-
builder
public static ListAvailabilityHistoriesRequest.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>
-
-