public static class StorageWorkRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StorageWorkRequest |
build() |
StorageWorkRequest.Builder |
compartmentId(String compartmentId)
Compartment Identifier [OCID]
(https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
StorageWorkRequest.Builder |
compartmentIdInSubtree(Boolean compartmentIdInSubtree)
If true, purge child compartments data, only applicable to purge request
|
StorageWorkRequest.Builder |
copy(StorageWorkRequest model) |
StorageWorkRequest.Builder |
dataType(StorageDataType dataType)
Thie is the type of data to be purged
|
StorageWorkRequest.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 request
|
StorageWorkRequest.Builder |
isUseRecommendedDataSet(Boolean isUseRecommendedDataSet)
This indicates if user checked system recommended time range
|
StorageWorkRequest.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 request
|
StorageWorkRequest.Builder |
operationDetails(String operationDetails)
This provides more detailed info about the work request if applicable
|
StorageWorkRequest.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 applicable
|
StorageWorkRequest.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 all
|
StorageWorkRequest.Builder |
purpose(String purpose)
This is the purpose of the operation associated with this work request
|
StorageWorkRequest.Builder |
query(String query)
This is the query string applied on the operation associated with this work request
|
StorageWorkRequest.Builder |
status(WorkRequestStatus status)
This is the work request status.
|
StorageWorkRequest.Builder |
statusDetails(String statusDetails)
This provides more detailed status if applicable
|
StorageWorkRequest.Builder |
storageUsageInBytes(Long storageUsageInBytes)
This is the data usage in bytes if applicable
|
StorageWorkRequest.Builder |
timeAccepted(Date timeAccepted)
When the work request was accepted.
|
StorageWorkRequest.Builder |
timeDataEnded(Date timeDataEnded)
This is the end of the time interval
|
StorageWorkRequest.Builder |
timeDataStarted(Date timeDataStarted)
This is the start of the time interval
|
StorageWorkRequest.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.
|
public StorageWorkRequest.Builder id(String id)
This is the OCID of the storage work Request.
id
- the value to setpublic StorageWorkRequest.Builder compartmentId(String compartmentId)
Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
compartmentId
- the value to setpublic StorageWorkRequest.Builder timeStarted(Date timeStarted)
When the work request started.
timeStarted
- the value to setpublic StorageWorkRequest.Builder timeAccepted(Date timeAccepted)
When the work request was accepted. Should match timeStarted in all cases.
timeAccepted
- the value to setpublic StorageWorkRequest.Builder timeFinished(Date timeFinished)
When the work request finished execution.
timeFinished
- the value to setpublic StorageWorkRequest.Builder timeExpires(Date timeExpires)
When the work request will expire.
timeExpires
- the value to setpublic StorageWorkRequest.Builder percentComplete(Integer percentComplete)
Percentage progress completion of the work request.
percentComplete
- the value to setpublic StorageWorkRequest.Builder status(WorkRequestStatus status)
This is the work request status.
status
- the value to setpublic StorageWorkRequest.Builder timeDataStarted(Date timeDataStarted)
This is the start of the time interval
timeDataStarted
- the value to setpublic StorageWorkRequest.Builder timeDataEnded(Date timeDataEnded)
This is the end of the time interval
timeDataEnded
- the value to setpublic StorageWorkRequest.Builder purgeQueryString(String purgeQueryString)
This is the solr query used to filter data for purge, ‘*’ means all
purgeQueryString
- the value to setpublic StorageWorkRequest.Builder dataType(StorageDataType dataType)
Thie is the type of data to be purged
dataType
- the value to setpublic StorageWorkRequest.Builder statusDetails(String statusDetails)
This provides more detailed status if applicable
statusDetails
- the value to setpublic StorageWorkRequest.Builder operationDetails(String operationDetails)
This provides more detailed info about the work request if applicable
operationDetails
- the value to setpublic StorageWorkRequest.Builder policyName(String policyName)
This is the policy name if applicable (e.g. purge policy)
policyName
- the value to setpublic StorageWorkRequest.Builder policyId(String policyId)
This is the purge policy ID if applicable
policyId
- the value to setpublic StorageWorkRequest.Builder storageUsageInBytes(Long storageUsageInBytes)
This is the data usage in bytes if applicable
storageUsageInBytes
- the value to setpublic StorageWorkRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
If true, purge child compartments data, only applicable to purge request
compartmentIdInSubtree
- the value to setpublic StorageWorkRequest.Builder operationType(StorageOperationType operationType)
This is the type of the work request.
operationType
- the value to setpublic StorageWorkRequest.Builder keyId(String keyId)
This is the key ID for encryption key.
keyId
- the value to setpublic StorageWorkRequest.Builder keyType(EncryptionKeyType keyType)
The type of customer encryption key. It can be archival, active or all.
keyType
- the value to setpublic StorageWorkRequest.Builder logSets(String logSets)
This is a list of logsets associated with this work request
logSets
- the value to setpublic StorageWorkRequest.Builder purpose(String purpose)
This is the purpose of the operation associated with this work request
purpose
- the value to setpublic StorageWorkRequest.Builder query(String query)
This is the query string applied on the operation associated with this work request
query
- the value to setpublic StorageWorkRequest.Builder isRecallNewDataOnly(Boolean isRecallNewDataOnly)
This is the flag to indicate if only new data has to be recalled in this work request
isRecallNewDataOnly
- the value to setpublic StorageWorkRequest.Builder isUseRecommendedDataSet(Boolean isUseRecommendedDataSet)
This indicates if user checked system recommended time range
isUseRecommendedDataSet
- the value to setpublic StorageWorkRequest build()
public StorageWorkRequest.Builder copy(StorageWorkRequest model)
Copyright © 2016–2024. All rights reserved.