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 StorageWorkRequest
build()
StorageWorkRequest.Builder
compartmentId(String compartmentId)
Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).StorageWorkRequest.Builder
compartmentIdInSubtree(Boolean compartmentIdInSubtree)
If true, purge child compartments data, only applicable to purge requestStorageWorkRequest.Builder
copy(StorageWorkRequest model)
StorageWorkRequest.Builder
dataType(StorageDataType dataType)
Thie is the type of data to be purgedStorageWorkRequest.Builder
id(String id)
This is the OCID of the storage work Request.StorageWorkRequest.Builder
isRecallNewDataOnly(Boolean isRecallNewDataOnly)
This is the flag to indicate if only new data has to be recalled in this work requestStorageWorkRequest.Builder
isUseRecommendedDataSet(Boolean isUseRecommendedDataSet)
This indicates if user checked system recommended time rangeStorageWorkRequest.Builder
keyId(String keyId)
This is the key ID for encryption key.StorageWorkRequest.Builder
keyType(EncryptionKeyType keyType)
The type of customer encryption key.StorageWorkRequest.Builder
logSets(String logSets)
This is a list of logsets associated with this work requestStorageWorkRequest.Builder
operationDetails(String operationDetails)
This provides more detailed info about the work request if applicableStorageWorkRequest.Builder
operationType(StorageOperationType operationType)
This is the type of the work request.StorageWorkRequest.Builder
percentComplete(Integer percentComplete)
Percentage progress completion of the work request.StorageWorkRequest.Builder
policyId(String policyId)
This is the purge policy ID if applicableStorageWorkRequest.Builder
policyName(String policyName)
This is the policy name if applicable (e.g.StorageWorkRequest.Builder
purgeQueryString(String purgeQueryString)
This is the solr query used to filter data for purge, ‘*’ means allStorageWorkRequest.Builder
purpose(String purpose)
This is the purpose of the operation associated with this work requestStorageWorkRequest.Builder
query(String query)
This is the query string applied on the operation associated with this work requestStorageWorkRequest.Builder
status(WorkRequestStatus status)
This is the work request status.StorageWorkRequest.Builder
statusDetails(String statusDetails)
This provides more detailed status if applicableStorageWorkRequest.Builder
storageUsageInBytes(Long storageUsageInBytes)
This is the data usage in bytes if applicableStorageWorkRequest.Builder
timeAccepted(Date timeAccepted)
When the work request was accepted.StorageWorkRequest.Builder
timeDataEnded(Date timeDataEnded)
This is the end of the time intervalStorageWorkRequest.Builder
timeDataStarted(Date timeDataStarted)
This is the start of the time intervalStorageWorkRequest.Builder
timeExpires(Date timeExpires)
When the work request will expire.StorageWorkRequest.Builder
timeFinished(Date timeFinished)
When the work request finished execution.StorageWorkRequest.Builder
timeStarted(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)
-
-