Class StorageWorkRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.loganalytics.model.StorageWorkRequest.Builder
 
- 
- Enclosing class:
- StorageWorkRequest
 
 public static class StorageWorkRequest.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageWorkRequestbuild()StorageWorkRequest.BuildercompartmentId(String compartmentId)Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).StorageWorkRequest.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)If true, purge child compartments data, only applicable to purge requestStorageWorkRequest.Buildercopy(StorageWorkRequest model)StorageWorkRequest.BuilderdataType(StorageDataType dataType)Thie is the type of data to be purgedStorageWorkRequest.Builderid(String id)This is the OCID of the storage work Request.StorageWorkRequest.BuilderisRecallNewDataOnly(Boolean isRecallNewDataOnly)This is the flag to indicate if only new data has to be recalled in this work requestStorageWorkRequest.BuilderisUseRecommendedDataSet(Boolean isUseRecommendedDataSet)This indicates if user checked system recommended time rangeStorageWorkRequest.BuilderkeyId(String keyId)This is the key ID for encryption key.StorageWorkRequest.BuilderkeyType(EncryptionKeyType keyType)The type of customer encryption key.StorageWorkRequest.BuilderlogSets(String logSets)This is a list of logsets associated with this work requestStorageWorkRequest.BuilderoperationDetails(String operationDetails)This provides more detailed info about the work request if applicableStorageWorkRequest.BuilderoperationType(StorageOperationType operationType)This is the type of the work request.StorageWorkRequest.BuilderpercentComplete(Integer percentComplete)Percentage progress completion of the work request.StorageWorkRequest.BuilderpolicyId(String policyId)This is the purge policy ID if applicableStorageWorkRequest.BuilderpolicyName(String policyName)This is the policy name if applicable (e.g.StorageWorkRequest.BuilderpurgeQueryString(String purgeQueryString)This is the solr query used to filter data for purge, ‘*’ means allStorageWorkRequest.Builderpurpose(String purpose)This is the purpose of the operation associated with this work requestStorageWorkRequest.Builderquery(String query)This is the query string applied on the operation associated with this work requestStorageWorkRequest.Builderstatus(WorkRequestStatus status)This is the work request status.StorageWorkRequest.BuilderstatusDetails(String statusDetails)This provides more detailed status if applicableStorageWorkRequest.BuilderstorageUsageInBytes(Long storageUsageInBytes)This is the data usage in bytes if applicableStorageWorkRequest.BuildertimeAccepted(Date timeAccepted)When the work request was accepted.StorageWorkRequest.BuildertimeDataEnded(Date timeDataEnded)This is the end of the time intervalStorageWorkRequest.BuildertimeDataStarted(Date timeDataStarted)This is the start of the time intervalStorageWorkRequest.BuildertimeExpires(Date timeExpires)When the work request will expire.StorageWorkRequest.BuildertimeFinished(Date timeFinished)When the work request finished execution.StorageWorkRequest.BuildertimeStarted(Date timeStarted)When the work request started.
 
- 
- 
- 
Method Detail- 
idpublic StorageWorkRequest.Builder id(String id) This is the OCID of the storage work Request.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic StorageWorkRequest.Builder compartmentId(String compartmentId) Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic StorageWorkRequest.Builder timeStarted(Date timeStarted) When the work request started.- Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeAcceptedpublic StorageWorkRequest.Builder timeAccepted(Date timeAccepted) When the work request was accepted.Should match timeStarted in all cases. - Parameters:
- timeAccepted- the value to set
- Returns:
- this builder
 
 - 
timeFinishedpublic StorageWorkRequest.Builder timeFinished(Date timeFinished) When the work request finished execution.- Parameters:
- timeFinished- the value to set
- Returns:
- this builder
 
 - 
timeExpirespublic StorageWorkRequest.Builder timeExpires(Date timeExpires) When the work request will expire.- Parameters:
- timeExpires- the value to set
- Returns:
- this builder
 
 - 
percentCompletepublic StorageWorkRequest.Builder percentComplete(Integer percentComplete) Percentage progress completion of the work request.- Parameters:
- percentComplete- the value to set
- Returns:
- this builder
 
 - 
statuspublic StorageWorkRequest.Builder status(WorkRequestStatus status) This is the work request status.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
timeDataStartedpublic StorageWorkRequest.Builder timeDataStarted(Date timeDataStarted) This is the start of the time interval- Parameters:
- timeDataStarted- the value to set
- Returns:
- this builder
 
 - 
timeDataEndedpublic StorageWorkRequest.Builder timeDataEnded(Date timeDataEnded) This is the end of the time interval- Parameters:
- timeDataEnded- the value to set
- Returns:
- this builder
 
 - 
purgeQueryStringpublic StorageWorkRequest.Builder purgeQueryString(String purgeQueryString) This is the solr query used to filter data for purge, ‘*’ means all- Parameters:
- purgeQueryString- the value to set
- Returns:
- this builder
 
 - 
dataTypepublic StorageWorkRequest.Builder dataType(StorageDataType dataType) Thie is the type of data to be purged- Parameters:
- dataType- the value to set
- Returns:
- this builder
 
 - 
statusDetailspublic StorageWorkRequest.Builder statusDetails(String statusDetails) This provides more detailed status if applicable- Parameters:
- statusDetails- the value to set
- Returns:
- this builder
 
 - 
operationDetailspublic StorageWorkRequest.Builder operationDetails(String operationDetails) This provides more detailed info about the work request if applicable- Parameters:
- operationDetails- the value to set
- Returns:
- this builder
 
 - 
policyNamepublic StorageWorkRequest.Builder policyName(String policyName) This is the policy name if applicable (e.g.purge policy) - Parameters:
- policyName- the value to set
- Returns:
- this builder
 
 - 
policyIdpublic StorageWorkRequest.Builder policyId(String policyId) This is the purge policy ID if applicable- Parameters:
- policyId- the value to set
- Returns:
- this builder
 
 - 
storageUsageInBytespublic StorageWorkRequest.Builder storageUsageInBytes(Long storageUsageInBytes) This is the data usage in bytes if applicable- Parameters:
- storageUsageInBytes- the value to set
- Returns:
- this builder
 
 - 
compartmentIdInSubtreepublic StorageWorkRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree) If true, purge child compartments data, only applicable to purge request- Parameters:
- compartmentIdInSubtree- the value to set
- Returns:
- this builder
 
 - 
operationTypepublic StorageWorkRequest.Builder operationType(StorageOperationType operationType) This is the type of the work request.- Parameters:
- operationType- the value to set
- Returns:
- this builder
 
 - 
keyIdpublic StorageWorkRequest.Builder keyId(String keyId) This is the key ID for encryption key.- Parameters:
- keyId- the value to set
- Returns:
- this builder
 
 - 
keyTypepublic StorageWorkRequest.Builder keyType(EncryptionKeyType keyType) The type of customer encryption key.It can be archival, active or all. - Parameters:
- keyType- the value to set
- Returns:
- this builder
 
 - 
logSetspublic StorageWorkRequest.Builder logSets(String logSets) This is a list of logsets associated with this work request- Parameters:
- logSets- the value to set
- Returns:
- this builder
 
 - 
purposepublic StorageWorkRequest.Builder purpose(String purpose) This is the purpose of the operation associated with this work request- Parameters:
- purpose- the value to set
- Returns:
- this builder
 
 - 
querypublic StorageWorkRequest.Builder query(String query) This is the query string applied on the operation associated with this work request- Parameters:
- query- the value to set
- Returns:
- this builder
 
 - 
isRecallNewDataOnlypublic StorageWorkRequest.Builder isRecallNewDataOnly(Boolean isRecallNewDataOnly) This is the flag to indicate if only new data has to be recalled in this work request- Parameters:
- isRecallNewDataOnly- the value to set
- Returns:
- this builder
 
 - 
isUseRecommendedDataSetpublic StorageWorkRequest.Builder isUseRecommendedDataSet(Boolean isUseRecommendedDataSet) This indicates if user checked system recommended time range- Parameters:
- isUseRecommendedDataSet- the value to set
- Returns:
- this builder
 
 - 
buildpublic StorageWorkRequest build() 
 - 
copypublic StorageWorkRequest.Builder copy(StorageWorkRequest model) 
 
- 
 
-