Class ListMaintenanceExecutionsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.datacc.requests.ListMaintenanceExecutionsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20251101") public class ListMaintenanceExecutionsRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ListMaintenanceExecutionsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListMaintenanceExecutionsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListMaintenanceExecutionsRequest.Builderstatic classListMaintenanceExecutionsRequest.SortByThe field by which you want to sort.
-
Constructor Summary
Constructors Constructor Description ListMaintenanceExecutionsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListMaintenanceExecutionsRequest.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’.StringgetCompartmentId()The OCID of the compartment.StringgetDisplayName()A filter to return resources that match the entire display name given.StringgetInfrastructureId()The Database Infrastructure ID.MaintenanceRunLifecycleStategetLifecycleState()A filter to return only resources that match the given lifecycle state exactly.IntegergetLimit()The maximum number of items to return in a page.StringgetMaintenanceRunId()The maintenance run OCID.MaintenanceSubtypeEnumgetMaintenanceSubtype()The sub-type of the maintenance run.MaintenanceTypeEnumgetMaintenanceType()The maintenance type.StringgetOpcRequestId()The client request identifier.StringgetPage()The page token representing the page at which you want to start retrieving results.ListMaintenanceExecutionsRequest.SortBygetSortBy()The field by which you want to sort.SortOrdergetSortOrder()The sort order that you want to use, which is either ASC or DESC.TargetResourceTypeEnumgetTargetResourceType()The type of the target resource.DategetTimeAcceptedGreaterThanOrEqualTo()Filter maintenance run for after given time.DategetTimeAcceptedLessThanOrEqualTo()Filter maintenance run for before given time.TypeEnumgetType()The maintenance execution type.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListMaintenanceExecutionsRequest.BuildertoBuilder()Return an instance ofListMaintenanceExecutionsRequest.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
-
getCompartmentId
public String getCompartmentId()
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).
-
getDisplayName
public String getDisplayName()
A filter to return resources that match the entire display name given.The match is case sensitive.
-
getInfrastructureId
public String getInfrastructureId()
The Database Infrastructure ID.
-
getTargetResourceType
public TargetResourceTypeEnum getTargetResourceType()
The type of the target resource.
-
getMaintenanceType
public MaintenanceTypeEnum getMaintenanceType()
The maintenance type.
-
getMaintenanceRunId
public String getMaintenanceRunId()
The maintenance run OCID.
-
getLifecycleState
public MaintenanceRunLifecycleState getLifecycleState()
A filter to return only resources that match the given lifecycle state exactly.
-
getMaintenanceSubtype
public MaintenanceSubtypeEnum getMaintenanceSubtype()
The sub-type of the maintenance run.
-
getTimeAcceptedLessThanOrEqualTo
public Date getTimeAcceptedLessThanOrEqualTo()
Filter maintenance run for before given time.
-
getTimeAcceptedGreaterThanOrEqualTo
public Date getTimeAcceptedGreaterThanOrEqualTo()
Filter maintenance run for after given time.
-
getType
public TypeEnum getType()
The maintenance execution type.
-
getLimit
public Integer getLimit()
The maximum number of items to return in a page.
-
getPage
public String getPage()
The page token representing the page at which you want to start retrieving results.This token is usually retrieved from a previous list call.
-
getSortBy
public ListMaintenanceExecutionsRequest.SortBy getSortBy()
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.
-
getSortOrder
public SortOrder getSortOrder()
The sort order that you want to use, which is either ASC or DESC.
-
getOpcRequestId
public String getOpcRequestId()
The client request identifier.
-
toBuilder
public ListMaintenanceExecutionsRequest.Builder toBuilder()
Return an instance ofListMaintenanceExecutionsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListMaintenanceExecutionsRequest.Builderthat allows you to modify request properties.
-
builder
public static ListMaintenanceExecutionsRequest.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>
-
-