Class ListAvailabilityHistoriesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.managementagent.requests.ListAvailabilityHistoriesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListAvailabilityHistoriesRequest,Void>
- Enclosing class:
- ListAvailabilityHistoriesRequest
public static class ListAvailabilityHistoriesRequest.Builder extends Object implements BmcRequest.Builder<ListAvailabilityHistoriesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAvailabilityHistoriesRequest
build()
Build the instance of ListAvailabilityHistoriesRequest as configured by this builderListAvailabilityHistoriesRequest
buildWithoutInvocationCallback()
Build the instance of ListAvailabilityHistoriesRequest as configured by this builderListAvailabilityHistoriesRequest.Builder
copy(ListAvailabilityHistoriesRequest o)
Copy method to populate the builder with values from the given instance.ListAvailabilityHistoriesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListAvailabilityHistoriesRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListAvailabilityHistoriesRequest.Builder
managementAgentId(String managementAgentId)
Unique Management Agent identifierListAvailabilityHistoriesRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListAvailabilityHistoriesRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListAvailabilityHistoriesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListAvailabilityHistoriesRequest.Builder
sortBy(ListAvailabilityHistoriesRequest.SortBy sortBy)
The field to sort by.ListAvailabilityHistoriesRequest.Builder
sortOrder(ListAvailabilityHistoriesRequest.SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.ListAvailabilityHistoriesRequest.Builder
timeAvailabilityStatusEndedGreaterThan(Date timeAvailabilityStatusEndedGreaterThan)
Filter to limit the availability history results to that of time after the input time including the boundary record.ListAvailabilityHistoriesRequest.Builder
timeAvailabilityStatusStartedLessThan(Date timeAvailabilityStatusStartedLessThan)
Filter to limit the availability history results to that of time before the input time including the boundary record Defaulted to current date.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
managementAgentId
public ListAvailabilityHistoriesRequest.Builder managementAgentId(String managementAgentId)
Unique Management Agent identifier- Parameters:
managementAgentId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListAvailabilityHistoriesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
timeAvailabilityStatusEndedGreaterThan
public ListAvailabilityHistoriesRequest.Builder timeAvailabilityStatusEndedGreaterThan(Date timeAvailabilityStatusEndedGreaterThan)
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.
- Parameters:
timeAvailabilityStatusEndedGreaterThan
- the value to set- Returns:
- this builder instance
-
timeAvailabilityStatusStartedLessThan
public ListAvailabilityHistoriesRequest.Builder timeAvailabilityStatusStartedLessThan(Date timeAvailabilityStatusStartedLessThan)
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.
- Parameters:
timeAvailabilityStatusStartedLessThan
- the value to set- Returns:
- this builder instance
-
limit
public ListAvailabilityHistoriesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListAvailabilityHistoriesRequest.Builder page(String page)
The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListAvailabilityHistoriesRequest.Builder sortOrder(ListAvailabilityHistoriesRequest.SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListAvailabilityHistoriesRequest.Builder sortBy(ListAvailabilityHistoriesRequest.SortBy sortBy)
The field to sort by.Default order for timeAvailabilityStatusStarted is descending.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListAvailabilityHistoriesRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public ListAvailabilityHistoriesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public ListAvailabilityHistoriesRequest.Builder copy(ListAvailabilityHistoriesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListAvailabilityHistoriesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListAvailabilityHistoriesRequest build()
Build the instance of ListAvailabilityHistoriesRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<ListAvailabilityHistoriesRequest,Void>
- Returns:
- instance of ListAvailabilityHistoriesRequest
-
buildWithoutInvocationCallback
public ListAvailabilityHistoriesRequest buildWithoutInvocationCallback()
Build the instance of ListAvailabilityHistoriesRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of ListAvailabilityHistoriesRequest
-
-