Class StorageWorkRequest
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.loganalytics.model.StorageWorkRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class StorageWorkRequest extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThis shows the storage work request details.
 Note: Objects should always be created or deserialized using theStorageWorkRequest.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 theStorageWorkRequest.Builder, which maintain a set of all explicitly set fields calledStorageWorkRequest.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 SummaryNested Classes Modifier and Type Class Description static classStorageWorkRequest.Builder
 - 
Constructor SummaryConstructors Constructor Description StorageWorkRequest(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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StorageWorkRequest.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).BooleangetCompartmentIdInSubtree()If true, purge child compartments data, only applicable to purge requestStorageDataTypegetDataType()Thie is the type of data to be purgedStringgetId()This is the OCID of the storage work Request.BooleangetIsRecallNewDataOnly()This is the flag to indicate if only new data has to be recalled in this work requestBooleangetIsUseRecommendedDataSet()This indicates if user checked system recommended time rangeStringgetKeyId()This is the key ID for encryption key.EncryptionKeyTypegetKeyType()The type of customer encryption key.StringgetLogSets()This is a list of logsets associated with this work requestStringgetOperationDetails()This provides more detailed info about the work request if applicableStorageOperationTypegetOperationType()This is the type of the work request.IntegergetPercentComplete()Percentage progress completion of the work request.StringgetPolicyId()This is the purge policy ID if applicableStringgetPolicyName()This is the policy name if applicable (e.g.StringgetPurgeQueryString()This is the solr query used to filter data for purge, ‘*’ means allStringgetPurpose()This is the purpose of the operation associated with this work requestStringgetQuery()This is the query string applied on the operation associated with this work requestWorkRequestStatusgetStatus()This is the work request status.StringgetStatusDetails()This provides more detailed status if applicableLonggetStorageUsageInBytes()This is the data usage in bytes if applicableDategetTimeAccepted()When the work request was accepted.DategetTimeDataEnded()This is the end of the time intervalDategetTimeDataStarted()This is the start of the time intervalDategetTimeExpires()When the work request will expire.DategetTimeFinished()When the work request finished execution.DategetTimeStarted()When the work request started.inthashCode()StorageWorkRequest.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
StorageWorkRequest@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 StorageWorkRequest(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- 
builderpublic static StorageWorkRequest.Builder builder() Create a new builder.
 - 
toBuilderpublic StorageWorkRequest.Builder toBuilder() 
 - 
getIdpublic String getId() This is the OCID of the storage work Request.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).- Returns:
- the value
 
 - 
getTimeStartedpublic Date getTimeStarted() When the work request started.- Returns:
- the value
 
 - 
getTimeAcceptedpublic Date getTimeAccepted() When the work request was accepted.Should match timeStarted in all cases. - Returns:
- the value
 
 - 
getTimeFinishedpublic Date getTimeFinished() When the work request finished execution.- Returns:
- the value
 
 - 
getTimeExpirespublic Date getTimeExpires() When the work request will expire.- Returns:
- the value
 
 - 
getPercentCompletepublic Integer getPercentComplete() Percentage progress completion of the work request.- Returns:
- the value
 
 - 
getStatuspublic WorkRequestStatus getStatus() This is the work request status.- Returns:
- the value
 
 - 
getTimeDataStartedpublic Date getTimeDataStarted() This is the start of the time interval- Returns:
- the value
 
 - 
getTimeDataEndedpublic Date getTimeDataEnded() This is the end of the time interval- Returns:
- the value
 
 - 
getPurgeQueryStringpublic String getPurgeQueryString() This is the solr query used to filter data for purge, ‘*’ means all- Returns:
- the value
 
 - 
getDataTypepublic StorageDataType getDataType() Thie is the type of data to be purged- Returns:
- the value
 
 - 
getStatusDetailspublic String getStatusDetails() This provides more detailed status if applicable- Returns:
- the value
 
 - 
getOperationDetailspublic String getOperationDetails() This provides more detailed info about the work request if applicable- Returns:
- the value
 
 - 
getPolicyNamepublic String getPolicyName() This is the policy name if applicable (e.g.purge policy) - Returns:
- the value
 
 - 
getPolicyIdpublic String getPolicyId() This is the purge policy ID if applicable- Returns:
- the value
 
 - 
getStorageUsageInBytespublic Long getStorageUsageInBytes() This is the data usage in bytes if applicable- Returns:
- the value
 
 - 
getCompartmentIdInSubtreepublic Boolean getCompartmentIdInSubtree() If true, purge child compartments data, only applicable to purge request- Returns:
- the value
 
 - 
getOperationTypepublic StorageOperationType getOperationType() This is the type of the work request.- Returns:
- the value
 
 - 
getKeyIdpublic String getKeyId() This is the key ID for encryption key.- Returns:
- the value
 
 - 
getKeyTypepublic EncryptionKeyType getKeyType() The type of customer encryption key.It can be archival, active or all. - Returns:
- the value
 
 - 
getLogSetspublic String getLogSets() This is a list of logsets associated with this work request- Returns:
- the value
 
 - 
getPurposepublic String getPurpose() This is the purpose of the operation associated with this work request- Returns:
- the value
 
 - 
getQuerypublic String getQuery() This is the query string applied on the operation associated with this work request- Returns:
- the value
 
 - 
getIsRecallNewDataOnlypublic Boolean getIsRecallNewDataOnly() This is the flag to indicate if only new data has to be recalled in this work request- Returns:
- the value
 
 - 
getIsUseRecommendedDataSetpublic Boolean getIsUseRecommendedDataSet() This indicates if user checked system recommended time range- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-