Class StorageWorkRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.StorageWorkRequest.Builder
-
- Enclosing class:
- StorageWorkRequest
public static class StorageWorkRequest.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
id
public StorageWorkRequest.Builder id(String id)
This is the OCID of the storage work Request.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public 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
-
timeStarted
public StorageWorkRequest.Builder timeStarted(Date timeStarted)
When the work request started.- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeAccepted
public 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
-
timeFinished
public StorageWorkRequest.Builder timeFinished(Date timeFinished)
When the work request finished execution.- Parameters:
timeFinished- the value to set- Returns:
- this builder
-
timeExpires
public StorageWorkRequest.Builder timeExpires(Date timeExpires)
When the work request will expire.- Parameters:
timeExpires- the value to set- Returns:
- this builder
-
percentComplete
public StorageWorkRequest.Builder percentComplete(Integer percentComplete)
Percentage progress completion of the work request.- Parameters:
percentComplete- the value to set- Returns:
- this builder
-
status
public StorageWorkRequest.Builder status(WorkRequestStatus status)
This is the work request status.- Parameters:
status- the value to set- Returns:
- this builder
-
timeDataStarted
public StorageWorkRequest.Builder timeDataStarted(Date timeDataStarted)
This is the start of the time interval- Parameters:
timeDataStarted- the value to set- Returns:
- this builder
-
timeDataEnded
public StorageWorkRequest.Builder timeDataEnded(Date timeDataEnded)
This is the end of the time interval- Parameters:
timeDataEnded- the value to set- Returns:
- this builder
-
purgeQueryString
public 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
-
dataType
public StorageWorkRequest.Builder dataType(StorageDataType dataType)
Thie is the type of data to be purged- Parameters:
dataType- the value to set- Returns:
- this builder
-
statusDetails
public StorageWorkRequest.Builder statusDetails(String statusDetails)
This provides more detailed status if applicable- Parameters:
statusDetails- the value to set- Returns:
- this builder
-
operationDetails
public 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
-
policyName
public 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
-
policyId
public StorageWorkRequest.Builder policyId(String policyId)
This is the purge policy ID if applicable- Parameters:
policyId- the value to set- Returns:
- this builder
-
storageUsageInBytes
public StorageWorkRequest.Builder storageUsageInBytes(Long storageUsageInBytes)
This is the data usage in bytes if applicable- Parameters:
storageUsageInBytes- the value to set- Returns:
- this builder
-
compartmentIdInSubtree
public 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
-
operationType
public StorageWorkRequest.Builder operationType(StorageOperationType operationType)
This is the type of the work request.- Parameters:
operationType- the value to set- Returns:
- this builder
-
keyId
public StorageWorkRequest.Builder keyId(String keyId)
This is the key ID for encryption key.- Parameters:
keyId- the value to set- Returns:
- this builder
-
keyType
public 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
-
logSets
public 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
-
purpose
public 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
-
query
public 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
-
isRecallNewDataOnly
public 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
-
isUseRecommendedDataSet
public StorageWorkRequest.Builder isUseRecommendedDataSet(Boolean isUseRecommendedDataSet)
This indicates if user checked system recommended time range- Parameters:
isUseRecommendedDataSet- the value to set- Returns:
- this builder
-
build
public StorageWorkRequest build()
-
copy
public StorageWorkRequest.Builder copy(StorageWorkRequest model)
-
-