Class StorageWorkRequestSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.StorageWorkRequestSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class StorageWorkRequestSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
This is the summary of a storage work request.
Note: Objects should always be created or deserialized using theStorageWorkRequestSummary.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 theStorageWorkRequestSummary.Builder
, which maintain a set of all explicitly set fields calledStorageWorkRequestSummary.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 class
StorageWorkRequestSummary.Builder
-
Constructor Summary
Constructors Constructor Description StorageWorkRequestSummary(String id, String compartmentId, Date timeStarted, Date timeAccepted, Date timeFinished, Date timeExpires, Integer percentComplete, WorkRequestStatus status, Date timeDataStarted, Date timeDataEnded, String purgeQueryString, StorageDataType dataType, String statusDetails, String operationDetails, String policyName, String policyId, Long storageUsageInBytes, Boolean compartmentIdInSubtree, StorageOperationType operationType, String keyId, EncryptionKeyType keyType, String logSets, String purpose, String query, Boolean isRecallNewDataOnly, Boolean isUseRecommendedDataSet)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StorageWorkRequestSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCompartmentId()
Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).Boolean
getCompartmentIdInSubtree()
If true, purge child compartments data, only applicable to purge requestStorageDataType
getDataType()
Thie is the type of data to be purgedString
getId()
This is the OCID of the storage work Request.Boolean
getIsRecallNewDataOnly()
This is the flag to indicate if only new data has to be recalled in this work requestBoolean
getIsUseRecommendedDataSet()
This indicates if user checked system recommended time rangeString
getKeyId()
This is the key ID for encryption key.EncryptionKeyType
getKeyType()
The type of customer encryption key.String
getLogSets()
This is a list of logsets associated with this work requestString
getOperationDetails()
This provides more detailed info about the work request if applicableStorageOperationType
getOperationType()
This is the type of the work request.Integer
getPercentComplete()
Percentage progress completion of the work request.String
getPolicyId()
This is the purge policy ID if applicableString
getPolicyName()
This is the policy name if applicable (e.g.String
getPurgeQueryString()
This is the solr query used to filter data for purge, ‘*’ means allString
getPurpose()
This is the purpose of the operation associated with this work requestString
getQuery()
This is the query string applied on the operation associated with this work requestWorkRequestStatus
getStatus()
This is the work request status.String
getStatusDetails()
This provides more detailed status if applicableLong
getStorageUsageInBytes()
This is the data usage in bytes if applicableDate
getTimeAccepted()
When the work request was accepted.Date
getTimeDataEnded()
This is the end of the time intervalDate
getTimeDataStarted()
This is the start of the time intervalDate
getTimeExpires()
When the work request will expire.Date
getTimeFinished()
When the work request finished execution.Date
getTimeStarted()
When the work request started.int
hashCode()
StorageWorkRequestSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
StorageWorkRequestSummary
@Deprecated @ConstructorProperties({"id","compartmentId","timeStarted","timeAccepted","timeFinished","timeExpires","percentComplete","status","timeDataStarted","timeDataEnded","purgeQueryString","dataType","statusDetails","operationDetails","policyName","policyId","storageUsageInBytes","compartmentIdInSubtree","operationType","keyId","keyType","logSets","purpose","query","isRecallNewDataOnly","isUseRecommendedDataSet"}) public StorageWorkRequestSummary(String id, String compartmentId, Date timeStarted, Date timeAccepted, Date timeFinished, Date timeExpires, Integer percentComplete, WorkRequestStatus status, Date timeDataStarted, Date timeDataEnded, String purgeQueryString, StorageDataType dataType, String statusDetails, String operationDetails, String policyName, String policyId, Long storageUsageInBytes, Boolean compartmentIdInSubtree, StorageOperationType operationType, String keyId, EncryptionKeyType keyType, String logSets, String purpose, String query, Boolean isRecallNewDataOnly, Boolean isUseRecommendedDataSet)
Deprecated.
-
-
Method Detail
-
builder
public static StorageWorkRequestSummary.Builder builder()
Create a new builder.
-
toBuilder
public StorageWorkRequestSummary.Builder toBuilder()
-
getId
public String getId()
This is the OCID of the storage work Request.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).- Returns:
- the value
-
getTimeStarted
public Date getTimeStarted()
When the work request started.- Returns:
- the value
-
getTimeAccepted
public Date getTimeAccepted()
When the work request was accepted.Should match timeStarted in all cases.
- Returns:
- the value
-
getTimeFinished
public Date getTimeFinished()
When the work request finished execution.- Returns:
- the value
-
getTimeExpires
public Date getTimeExpires()
When the work request will expire.- Returns:
- the value
-
getPercentComplete
public Integer getPercentComplete()
Percentage progress completion of the work request.- Returns:
- the value
-
getStatus
public WorkRequestStatus getStatus()
This is the work request status.- Returns:
- the value
-
getTimeDataStarted
public Date getTimeDataStarted()
This is the start of the time interval- Returns:
- the value
-
getTimeDataEnded
public Date getTimeDataEnded()
This is the end of the time interval- Returns:
- the value
-
getPurgeQueryString
public String getPurgeQueryString()
This is the solr query used to filter data for purge, ‘*’ means all- Returns:
- the value
-
getDataType
public StorageDataType getDataType()
Thie is the type of data to be purged- Returns:
- the value
-
getStatusDetails
public String getStatusDetails()
This provides more detailed status if applicable- Returns:
- the value
-
getOperationDetails
public String getOperationDetails()
This provides more detailed info about the work request if applicable- Returns:
- the value
-
getPolicyName
public String getPolicyName()
This is the policy name if applicable (e.g.purge policy)
- Returns:
- the value
-
getPolicyId
public String getPolicyId()
This is the purge policy ID if applicable- Returns:
- the value
-
getStorageUsageInBytes
public Long getStorageUsageInBytes()
This is the data usage in bytes if applicable- Returns:
- the value
-
getCompartmentIdInSubtree
public Boolean getCompartmentIdInSubtree()
If true, purge child compartments data, only applicable to purge request- Returns:
- the value
-
getOperationType
public StorageOperationType getOperationType()
This is the type of the work request.- Returns:
- the value
-
getKeyId
public String getKeyId()
This is the key ID for encryption key.- Returns:
- the value
-
getKeyType
public EncryptionKeyType getKeyType()
The type of customer encryption key.It can be archival, active or all.
- Returns:
- the value
-
getLogSets
public String getLogSets()
This is a list of logsets associated with this work request- Returns:
- the value
-
getPurpose
public String getPurpose()
This is the purpose of the operation associated with this work request- Returns:
- the value
-
getQuery
public String getQuery()
This is the query string applied on the operation associated with this work request- Returns:
- the value
-
getIsRecallNewDataOnly
public Boolean getIsRecallNewDataOnly()
This is the flag to indicate if only new data has to be recalled in this work request- Returns:
- the value
-
getIsUseRecommendedDataSet
public Boolean getIsUseRecommendedDataSet()
This indicates if user checked system recommended time range- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-