Class ListMaintenanceExecutionsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datacc.requests.ListMaintenanceExecutionsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListMaintenanceExecutionsRequest,Void>
- Enclosing class:
- ListMaintenanceExecutionsRequest
public static class ListMaintenanceExecutionsRequest.Builder extends Object implements BmcRequest.Builder<ListMaintenanceExecutionsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListMaintenanceExecutionsRequestbuild()Build the instance of ListMaintenanceExecutionsRequest as configured by this builderListMaintenanceExecutionsRequestbuildWithoutInvocationCallback()Build the instance of ListMaintenanceExecutionsRequest as configured by this builderListMaintenanceExecutionsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment.ListMaintenanceExecutionsRequest.Buildercopy(ListMaintenanceExecutionsRequest o)Copy method to populate the builder with values from the given instance.ListMaintenanceExecutionsRequest.BuilderdisplayName(String displayName)A filter to return resources that match the entire display name given.ListMaintenanceExecutionsRequest.BuilderinfrastructureId(String infrastructureId)The Database Infrastructure ID.ListMaintenanceExecutionsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListMaintenanceExecutionsRequest.BuilderlifecycleState(MaintenanceRunLifecycleState lifecycleState)A filter to return only resources that match the given lifecycle state exactly.ListMaintenanceExecutionsRequest.Builderlimit(Integer limit)The maximum number of items to return in a page.ListMaintenanceExecutionsRequest.BuildermaintenanceRunId(String maintenanceRunId)The maintenance run OCID.ListMaintenanceExecutionsRequest.BuildermaintenanceSubtype(MaintenanceSubtypeEnum maintenanceSubtype)The sub-type of the maintenance run.ListMaintenanceExecutionsRequest.BuildermaintenanceType(MaintenanceTypeEnum maintenanceType)The maintenance type.ListMaintenanceExecutionsRequest.BuilderopcRequestId(String opcRequestId)The client request identifier.ListMaintenanceExecutionsRequest.Builderpage(String page)The page token representing the page at which you want to start retrieving results.ListMaintenanceExecutionsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListMaintenanceExecutionsRequest.BuildersortBy(ListMaintenanceExecutionsRequest.SortBy sortBy)The field by which you want to sort.ListMaintenanceExecutionsRequest.BuildersortOrder(SortOrder sortOrder)The sort order that you want to use, which is either ASC or DESC.ListMaintenanceExecutionsRequest.BuildertargetResourceType(TargetResourceTypeEnum targetResourceType)The type of the target resource.ListMaintenanceExecutionsRequest.BuildertimeAcceptedGreaterThanOrEqualTo(Date timeAcceptedGreaterThanOrEqualTo)Filter maintenance run for after given time.ListMaintenanceExecutionsRequest.BuildertimeAcceptedLessThanOrEqualTo(Date timeAcceptedLessThanOrEqualTo)Filter maintenance run for before given time.ListMaintenanceExecutionsRequest.Buildertype(TypeEnum type)The maintenance execution type.-
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
-
compartmentId
public ListMaintenanceExecutionsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller’s tenant and then treated as tenant scope (compartmentId filtering is not applied).
- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
displayName
public ListMaintenanceExecutionsRequest.Builder displayName(String displayName)
A filter to return resources that match the entire display name given.The match is case sensitive.
- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
infrastructureId
public ListMaintenanceExecutionsRequest.Builder infrastructureId(String infrastructureId)
The Database Infrastructure ID.- Parameters:
infrastructureId- the value to set- Returns:
- this builder instance
-
targetResourceType
public ListMaintenanceExecutionsRequest.Builder targetResourceType(TargetResourceTypeEnum targetResourceType)
The type of the target resource.- Parameters:
targetResourceType- the value to set- Returns:
- this builder instance
-
maintenanceType
public ListMaintenanceExecutionsRequest.Builder maintenanceType(MaintenanceTypeEnum maintenanceType)
The maintenance type.- Parameters:
maintenanceType- the value to set- Returns:
- this builder instance
-
maintenanceRunId
public ListMaintenanceExecutionsRequest.Builder maintenanceRunId(String maintenanceRunId)
The maintenance run OCID.- Parameters:
maintenanceRunId- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListMaintenanceExecutionsRequest.Builder lifecycleState(MaintenanceRunLifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
maintenanceSubtype
public ListMaintenanceExecutionsRequest.Builder maintenanceSubtype(MaintenanceSubtypeEnum maintenanceSubtype)
The sub-type of the maintenance run.- Parameters:
maintenanceSubtype- the value to set- Returns:
- this builder instance
-
timeAcceptedLessThanOrEqualTo
public ListMaintenanceExecutionsRequest.Builder timeAcceptedLessThanOrEqualTo(Date timeAcceptedLessThanOrEqualTo)
Filter maintenance run for before given time.- Parameters:
timeAcceptedLessThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeAcceptedGreaterThanOrEqualTo
public ListMaintenanceExecutionsRequest.Builder timeAcceptedGreaterThanOrEqualTo(Date timeAcceptedGreaterThanOrEqualTo)
Filter maintenance run for after given time.- Parameters:
timeAcceptedGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
type
public ListMaintenanceExecutionsRequest.Builder type(TypeEnum type)
The maintenance execution type.- Parameters:
type- the value to set- Returns:
- this builder instance
-
limit
public ListMaintenanceExecutionsRequest.Builder limit(Integer limit)
The maximum number of items to return in a page.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListMaintenanceExecutionsRequest.Builder page(String page)
The page token representing the page at which you want to start retrieving results.This token is usually retrieved from a previous list call.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortBy
public ListMaintenanceExecutionsRequest.Builder sortBy(ListMaintenanceExecutionsRequest.SortBy sortBy)
The field by which you want to sort.You can provide only one type of sort order. The default order for timeCreated is descending. The default order for displayName is ascending. If no value is specified, then timeCreated is the default. When listing software images within the same version, using sortBy=buildIdentifier is recommended. buildIdentifier is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListMaintenanceExecutionsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order that you want to use, which is either ASC or DESC.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListMaintenanceExecutionsRequest.Builder opcRequestId(String opcRequestId)
The client request identifier.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListMaintenanceExecutionsRequest.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 ListMaintenanceExecutionsRequest.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 ListMaintenanceExecutionsRequest.Builder copy(ListMaintenanceExecutionsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListMaintenanceExecutionsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListMaintenanceExecutionsRequest build()
Build the instance of ListMaintenanceExecutionsRequest 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:
buildin interfaceBmcRequest.Builder<ListMaintenanceExecutionsRequest,Void>- Returns:
- instance of ListMaintenanceExecutionsRequest
-
buildWithoutInvocationCallback
public ListMaintenanceExecutionsRequest buildWithoutInvocationCallback()
Build the instance of ListMaintenanceExecutionsRequest 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 ListMaintenanceExecutionsRequest
-
-