Package com.oracle.bmc.datacc.model
Class MaintenanceExecution
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datacc.model.MaintenanceExecution
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20251101") public final class MaintenanceExecution extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails of a maintenance executions.
Note: Objects should always be created or deserialized using theMaintenanceExecution.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 theMaintenanceExecution.Builder, which maintain a set of all explicitly set fields calledMaintenanceExecution.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 classMaintenanceExecution.Builder
-
Constructor Summary
Constructors Constructor Description MaintenanceExecution(String id, String compartmentId, String displayName, String description, MaintenanceRunLifecycleState lifecycleState, String lifecycleDetails, Date timeStarted, Date timeEnded, TargetResourceTypeEnum targetResourceType, String infrastructureId, String maintenanceRunId, MaintenanceTypeEnum maintenanceType, MaintenanceSubtypeEnum maintenanceSubtype, PatchingModeEnum patchingMode, String sourceVersion, String targetVersion, Boolean isCustomActionTimeoutEnabled, Integer customActionTimeoutInMins, String workflowId, 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 MaintenanceExecution.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The OCID of the compartment.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 execution.StringgetDisplayName()The user-friendly name for the maintenance run execution.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 execution.StringgetInfrastructureId()The OCID of the Database Infrastructure on which the maintenance run execution occurred.BooleangetIsCustomActionTimeoutEnabled()At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.StringgetLifecycleDetails()Additional information about the current lifecycle state.MaintenanceRunLifecycleStategetLifecycleState()The state of the maintenance run execution.StringgetMaintenanceRunId()The OCID of the maintenance run to which this maintenance execution belongs.MaintenanceSubtypeEnumgetMaintenanceSubtype()Maintenance run execution sub-type.MaintenanceTypeEnumgetMaintenanceType()Maintenance type.PatchingModeEnumgetPatchingMode()The patching mode for the maintenance run that is being executed.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 execution occurred.StringgetTargetVersion()The target software version for the Database Infrastructure patching operation.DategetTimeEnded()The date and time the maintenance run was completed.DategetTimeStarted()The date and time the maintenance run execution started.IntegergetTotalTimeTakenInMins()The total time taken by this execution in minutes.StringgetWorkflowId()The OCID of the work request executed by this execution.inthashCode()MaintenanceExecution.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
MaintenanceExecution
@Deprecated @ConstructorProperties({"id","compartmentId","displayName","description","lifecycleState","lifecycleDetails","timeStarted","timeEnded","targetResourceType","infrastructureId","maintenanceRunId","maintenanceType","maintenanceSubtype","patchingMode","sourceVersion","targetVersion","isCustomActionTimeoutEnabled","customActionTimeoutInMins","workflowId","systemTags","definedTags","freeformTags","totalTimeTakenInMins"}) public MaintenanceExecution(String id, String compartmentId, String displayName, String description, MaintenanceRunLifecycleState lifecycleState, String lifecycleDetails, Date timeStarted, Date timeEnded, TargetResourceTypeEnum targetResourceType, String infrastructureId, String maintenanceRunId, MaintenanceTypeEnum maintenanceType, MaintenanceSubtypeEnum maintenanceSubtype, PatchingModeEnum patchingMode, String sourceVersion, String targetVersion, Boolean isCustomActionTimeoutEnabled, Integer customActionTimeoutInMins, String workflowId, Map<String,Map<String,Object>> systemTags, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, Integer totalTimeTakenInMins)
Deprecated.
-
-
Method Detail
-
builder
public static MaintenanceExecution.Builder builder()
Create a new builder.
-
toBuilder
public MaintenanceExecution.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
The user-friendly name for the maintenance run execution.- Returns:
- the value
-
getDescription
public String getDescription()
Description of the maintenance run execution.- Returns:
- the value
-
getLifecycleState
public MaintenanceRunLifecycleState getLifecycleState()
The state of the maintenance run execution.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Additional information about the current lifecycle state.- Returns:
- the value
-
getTimeStarted
public Date getTimeStarted()
The date and time the maintenance run execution started.- 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 execution occurred.- Returns:
- the value
-
getInfrastructureId
public String getInfrastructureId()
The OCID of the Database Infrastructure on which the maintenance run execution occurred.- Returns:
- the value
-
getMaintenanceRunId
public String getMaintenanceRunId()
The OCID of the maintenance run to which this maintenance execution belongs.- Returns:
- the value
-
getMaintenanceType
public MaintenanceTypeEnum getMaintenanceType()
Maintenance type.- Returns:
- the value
-
getMaintenanceSubtype
public MaintenanceSubtypeEnum getMaintenanceSubtype()
Maintenance run execution sub-type.- Returns:
- the value
-
getPatchingMode
public PatchingModeEnum getPatchingMode()
The patching mode for the maintenance run that is being executed.- 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()
At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.- 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
-
getWorkflowId
public String getWorkflowId()
The OCID of the work request executed by this execution.- 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 this execution 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
-
-