Package com.oracle.bmc.datacc.model
Class MaintenanceRun
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datacc.model.MaintenanceRun
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20251101") public final class MaintenanceRun extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails of a maintenance run.
Note: Objects should always be created or deserialized using theMaintenanceRun.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theMaintenanceRun.Builder, which maintain a set of all explicitly set fields calledMaintenanceRun.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMaintenanceRun.Builder
-
Constructor Summary
Constructors Constructor Description MaintenanceRun(String id, String compartmentId, String displayName, String description, MaintenanceRunLifecycleState lifecycleState, String lifecycleDetails, Date initialScheduledTime, Date timeScheduled, Date timeStarted, Date timeEnded, TargetResourceTypeEnum targetResourceType, String infrastructureId, MaintenanceTypeEnum maintenanceType, String patchIdentifier, MaintenanceSubtypeEnum maintenanceSubtype, PatchingModeEnum patchingMode, Integer patchFailureCount, String sourceVersion, String targetVersion, Boolean isCustomActionTimeoutEnabled, Integer customActionTimeoutInMins, PatchingStatusEnum patchingStatus, Date patchingStartTime, Date patchingEndTime, Integer estimatedPatchingTime, String currentPatchingComponent, Date estimatedComponentPatchingStartTime, Map<String,Map<String,Object>> systemTags, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, Integer totalTimeTakenInMins)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaintenanceRun.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The OCID of the compartment.StringgetCurrentPatchingComponent()The name of the current infrastructure component that is getting patched.IntegergetCustomActionTimeoutInMins()Determines the amount of time the system will wait before the start of each compute server patching operation.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDescription()Description of the maintenance run.StringgetDisplayName()The user-friendly name for the maintenance run.DategetEstimatedComponentPatchingStartTime()The estimated start time of the next infrastructure component patching operation.IntegergetEstimatedPatchingTime()The estimated total time required in minutes for all patching operations (compute servers, storage).Map<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.StringgetId()The OCID of the maintenance run.StringgetInfrastructureId()The OCID of the Database Infrastructure on which the maintenance run execution occurs.DategetInitialScheduledTime()The date and time the maintenance run was originally scheduled.BooleangetIsCustomActionTimeoutEnabled()If true, enables the configuration of a custom action timeout (waiting period) between compute servers patching operations.StringgetLifecycleDetails()Additional information about the current lifecycle state.MaintenanceRunLifecycleStategetLifecycleState()The current state of the maintenance run.MaintenanceSubtypeEnumgetMaintenanceSubtype()Maintenance run sub-type.MaintenanceTypeEnumgetMaintenanceType()Maintenance type.IntegergetPatchFailureCount()Contain the patch failure count.StringgetPatchIdentifier()The unique identifier of the patch.DategetPatchingEndTime()The time when the patching operation ended.PatchingModeEnumgetPatchingMode()Database Infrastructure patching mode, either “ROLLING” or “NONROLLING”.DategetPatchingStartTime()The time when the patching operation started.PatchingStatusEnumgetPatchingStatus()The status of the patching operation.StringgetSourceVersion()The source software version for the Oracle infrastructure.Map<String,Map<String,Object>>getSystemTags()Usage of system tag keys.TargetResourceTypeEnumgetTargetResourceType()The type of the target resource on which the maintenance run occurs.StringgetTargetVersion()The target software version for the Database Infrastructure patching operation.DategetTimeEnded()The date and time the maintenance run was completed.DategetTimeScheduled()The date and time the maintenance run is scheduled to occur.DategetTimeStarted()The date and time the maintenance run starts.IntegergetTotalTimeTakenInMins()The total time taken by corresponding resource activity in minutes.inthashCode()MaintenanceRun.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
MaintenanceRun
@Deprecated @ConstructorProperties({"id","compartmentId","displayName","description","lifecycleState","lifecycleDetails","initialScheduledTime","timeScheduled","timeStarted","timeEnded","targetResourceType","infrastructureId","maintenanceType","patchIdentifier","maintenanceSubtype","patchingMode","patchFailureCount","sourceVersion","targetVersion","isCustomActionTimeoutEnabled","customActionTimeoutInMins","patchingStatus","patchingStartTime","patchingEndTime","estimatedPatchingTime","currentPatchingComponent","estimatedComponentPatchingStartTime","systemTags","definedTags","freeformTags","totalTimeTakenInMins"}) public MaintenanceRun(String id, String compartmentId, String displayName, String description, MaintenanceRunLifecycleState lifecycleState, String lifecycleDetails, Date initialScheduledTime, Date timeScheduled, Date timeStarted, Date timeEnded, TargetResourceTypeEnum targetResourceType, String infrastructureId, MaintenanceTypeEnum maintenanceType, String patchIdentifier, MaintenanceSubtypeEnum maintenanceSubtype, PatchingModeEnum patchingMode, Integer patchFailureCount, String sourceVersion, String targetVersion, Boolean isCustomActionTimeoutEnabled, Integer customActionTimeoutInMins, PatchingStatusEnum patchingStatus, Date patchingStartTime, Date patchingEndTime, Integer estimatedPatchingTime, String currentPatchingComponent, Date estimatedComponentPatchingStartTime, Map<String,Map<String,Object>> systemTags, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, Integer totalTimeTakenInMins)
Deprecated.
-
-
Method Detail
-
builder
public static MaintenanceRun.Builder builder()
Create a new builder.
-
toBuilder
public MaintenanceRun.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
The user-friendly name for the maintenance run.- Returns:
- the value
-
getDescription
public String getDescription()
Description of the maintenance run.- Returns:
- the value
-
getLifecycleState
public MaintenanceRunLifecycleState getLifecycleState()
The current state of the maintenance run.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Additional information about the current lifecycle state.- Returns:
- the value
-
getInitialScheduledTime
public Date getInitialScheduledTime()
The date and time the maintenance run was originally scheduled.- Returns:
- the value
-
getTimeScheduled
public Date getTimeScheduled()
The date and time the maintenance run is scheduled to occur.- Returns:
- the value
-
getTimeStarted
public Date getTimeStarted()
The date and time the maintenance run starts.- Returns:
- the value
-
getTimeEnded
public Date getTimeEnded()
The date and time the maintenance run was completed.- Returns:
- the value
-
getTargetResourceType
public TargetResourceTypeEnum getTargetResourceType()
The type of the target resource on which the maintenance run occurs.- Returns:
- the value
-
getInfrastructureId
public String getInfrastructureId()
The OCID of the Database Infrastructure on which the maintenance run execution occurs.- Returns:
- the value
-
getMaintenanceType
public MaintenanceTypeEnum getMaintenanceType()
Maintenance type.- Returns:
- the value
-
getPatchIdentifier
public String getPatchIdentifier()
The unique identifier of the patch.The identifier string includes the patch type and the version of the Database Infrastructure.
- Returns:
- the value
-
getMaintenanceSubtype
public MaintenanceSubtypeEnum getMaintenanceSubtype()
Maintenance run sub-type.- Returns:
- the value
-
getPatchingMode
public PatchingModeEnum getPatchingMode()
Database Infrastructure patching mode, either “ROLLING” or “NONROLLING”.Default value is ROLLING.
- Returns:
- the value
-
getPatchFailureCount
public Integer getPatchFailureCount()
Contain the patch failure count.- Returns:
- the value
-
getSourceVersion
public String getSourceVersion()
The source software version for the Oracle infrastructure.- Returns:
- the value
-
getTargetVersion
public String getTargetVersion()
The target software version for the Database Infrastructure patching operation.- Returns:
- the value
-
getIsCustomActionTimeoutEnabled
public Boolean getIsCustomActionTimeoutEnabled()
If true, enables the configuration of a custom action timeout (waiting period) between compute servers patching operations.- Returns:
- the value
-
getCustomActionTimeoutInMins
public Integer getCustomActionTimeoutInMins()
Determines the amount of time the system will wait before the start of each compute server patching operation.Supported values are 15 to 120 minutes.
- Returns:
- the value
-
getPatchingStatus
public PatchingStatusEnum getPatchingStatus()
The status of the patching operation.- Returns:
- the value
-
getPatchingStartTime
public Date getPatchingStartTime()
The time when the patching operation started.- Returns:
- the value
-
getPatchingEndTime
public Date getPatchingEndTime()
The time when the patching operation ended.- Returns:
- the value
-
getEstimatedPatchingTime
public Integer getEstimatedPatchingTime()
The estimated total time required in minutes for all patching operations (compute servers, storage).- Returns:
- the value
-
getCurrentPatchingComponent
public String getCurrentPatchingComponent()
The name of the current infrastructure component that is getting patched.- Returns:
- the value
-
getEstimatedComponentPatchingStartTime
public Date getEstimatedComponentPatchingStartTime()
The estimated start time of the next infrastructure component patching operation.- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.This tag option exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns:
- the value
-
getTotalTimeTakenInMins
public Integer getTotalTimeTakenInMins()
The total time taken by corresponding resource activity in minutes.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-