Class StorageWorkRequestSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.StorageWorkRequestSummary.Builder
-
- Enclosing class:
- StorageWorkRequestSummary
public static class StorageWorkRequestSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageWorkRequestSummarybuild()StorageWorkRequestSummary.BuildercompartmentId(String compartmentId)Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).StorageWorkRequestSummary.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)If true, purge child compartments data, only applicable to purge requestStorageWorkRequestSummary.Buildercopy(StorageWorkRequestSummary model)StorageWorkRequestSummary.BuilderdataType(StorageDataType dataType)Thie is the type of data to be purgedStorageWorkRequestSummary.Builderid(String id)This is the OCID of the storage work Request.StorageWorkRequestSummary.BuilderisRecallNewDataOnly(Boolean isRecallNewDataOnly)This is the flag to indicate if only new data has to be recalled in this work requestStorageWorkRequestSummary.BuilderisUseRecommendedDataSet(Boolean isUseRecommendedDataSet)This indicates if user checked system recommended time rangeStorageWorkRequestSummary.BuilderkeyId(String keyId)This is the key ID for encryption key.StorageWorkRequestSummary.BuilderkeyType(EncryptionKeyType keyType)The type of customer encryption key.StorageWorkRequestSummary.BuilderlogSets(String logSets)This is a list of logsets associated with this work requestStorageWorkRequestSummary.BuilderoperationDetails(String operationDetails)This provides more detailed info about the work request if applicableStorageWorkRequestSummary.BuilderoperationType(StorageOperationType operationType)This is the type of the work request.StorageWorkRequestSummary.BuilderpercentComplete(Integer percentComplete)Percentage progress completion of the work request.StorageWorkRequestSummary.BuilderpolicyId(String policyId)This is the purge policy ID if applicableStorageWorkRequestSummary.BuilderpolicyName(String policyName)This is the policy name if applicable (e.g.StorageWorkRequestSummary.BuilderpurgeQueryString(String purgeQueryString)This is the solr query used to filter data for purge, ‘*’ means allStorageWorkRequestSummary.Builderpurpose(String purpose)This is the purpose of the operation associated with this work requestStorageWorkRequestSummary.Builderquery(String query)This is the query string applied on the operation associated with this work requestStorageWorkRequestSummary.Builderstatus(WorkRequestStatus status)This is the work request status.StorageWorkRequestSummary.BuilderstatusDetails(String statusDetails)This provides more detailed status if applicableStorageWorkRequestSummary.BuilderstorageUsageInBytes(Long storageUsageInBytes)This is the data usage in bytes if applicableStorageWorkRequestSummary.BuildertimeAccepted(Date timeAccepted)When the work request was accepted.StorageWorkRequestSummary.BuildertimeDataEnded(Date timeDataEnded)This is the end of the time intervalStorageWorkRequestSummary.BuildertimeDataStarted(Date timeDataStarted)This is the start of the time intervalStorageWorkRequestSummary.BuildertimeExpires(Date timeExpires)When the work request will expire.StorageWorkRequestSummary.BuildertimeFinished(Date timeFinished)When the work request finished execution.StorageWorkRequestSummary.BuildertimeStarted(Date timeStarted)When the work request started.
-
-
-
Method Detail
-
id
public StorageWorkRequestSummary.Builder id(String id)
This is the OCID of the storage work Request.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public StorageWorkRequestSummary.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 StorageWorkRequestSummary.Builder timeStarted(Date timeStarted)
When the work request started.- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeAccepted
public StorageWorkRequestSummary.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 StorageWorkRequestSummary.Builder timeFinished(Date timeFinished)
When the work request finished execution.- Parameters:
timeFinished- the value to set- Returns:
- this builder
-
timeExpires
public StorageWorkRequestSummary.Builder timeExpires(Date timeExpires)
When the work request will expire.- Parameters:
timeExpires- the value to set- Returns:
- this builder
-
percentComplete
public StorageWorkRequestSummary.Builder percentComplete(Integer percentComplete)
Percentage progress completion of the work request.- Parameters:
percentComplete- the value to set- Returns:
- this builder
-
status
public StorageWorkRequestSummary.Builder status(WorkRequestStatus status)
This is the work request status.- Parameters:
status- the value to set- Returns:
- this builder
-
timeDataStarted
public StorageWorkRequestSummary.Builder timeDataStarted(Date timeDataStarted)
This is the start of the time interval- Parameters:
timeDataStarted- the value to set- Returns:
- this builder
-
timeDataEnded
public StorageWorkRequestSummary.Builder timeDataEnded(Date timeDataEnded)
This is the end of the time interval- Parameters:
timeDataEnded- the value to set- Returns:
- this builder
-
purgeQueryString
public StorageWorkRequestSummary.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 StorageWorkRequestSummary.Builder dataType(StorageDataType dataType)
Thie is the type of data to be purged- Parameters:
dataType- the value to set- Returns:
- this builder
-
statusDetails
public StorageWorkRequestSummary.Builder statusDetails(String statusDetails)
This provides more detailed status if applicable- Parameters:
statusDetails- the value to set- Returns:
- this builder
-
operationDetails
public StorageWorkRequestSummary.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 StorageWorkRequestSummary.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 StorageWorkRequestSummary.Builder policyId(String policyId)
This is the purge policy ID if applicable- Parameters:
policyId- the value to set- Returns:
- this builder
-
storageUsageInBytes
public StorageWorkRequestSummary.Builder storageUsageInBytes(Long storageUsageInBytes)
This is the data usage in bytes if applicable- Parameters:
storageUsageInBytes- the value to set- Returns:
- this builder
-
compartmentIdInSubtree
public StorageWorkRequestSummary.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 StorageWorkRequestSummary.Builder operationType(StorageOperationType operationType)
This is the type of the work request.- Parameters:
operationType- the value to set- Returns:
- this builder
-
keyId
public StorageWorkRequestSummary.Builder keyId(String keyId)
This is the key ID for encryption key.- Parameters:
keyId- the value to set- Returns:
- this builder
-
keyType
public StorageWorkRequestSummary.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 StorageWorkRequestSummary.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 StorageWorkRequestSummary.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 StorageWorkRequestSummary.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 StorageWorkRequestSummary.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 StorageWorkRequestSummary.Builder isUseRecommendedDataSet(Boolean isUseRecommendedDataSet)
This indicates if user checked system recommended time range- Parameters:
isUseRecommendedDataSet- the value to set- Returns:
- this builder
-
build
public StorageWorkRequestSummary build()
-
copy
public StorageWorkRequestSummary.Builder copy(StorageWorkRequestSummary model)
-
-