@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class StorageWorkRequestSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
This is the summary of a storage work request.
Note: Objects should always be created or deserialized using the StorageWorkRequestSummary.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the StorageWorkRequestSummary.Builder
, which maintain a
set of all explicitly set fields called StorageWorkRequestSummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
StorageWorkRequestSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
StorageWorkRequestSummary(String id,
String compartmentId,
Date timeStarted,
Date timeAccepted,
Date timeFinished,
Date timeExpires,
Integer percentComplete,
WorkRequestStatus status,
Date timeDataStarted,
Date timeDataEnded,
String purgeQueryString,
StorageDataType dataType,
String statusDetails,
String operationDetails,
String policyName,
String policyId,
Long storageUsageInBytes,
Boolean compartmentIdInSubtree,
StorageOperationType operationType,
String keyId,
EncryptionKeyType keyType,
String logSets,
String purpose,
String query,
Boolean isRecallNewDataOnly,
Boolean isUseRecommendedDataSet)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static StorageWorkRequestSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
Compartment Identifier [OCID]
(https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
Boolean |
getCompartmentIdInSubtree()
If true, purge child compartments data, only applicable to purge request
|
StorageDataType |
getDataType()
Thie is the type of data to be purged
|
String |
getId()
This is the OCID of the storage work Request.
|
Boolean |
getIsRecallNewDataOnly()
This is the flag to indicate if only new data has to be recalled in this work request
|
Boolean |
getIsUseRecommendedDataSet()
This indicates if user checked system recommended time range
|
String |
getKeyId()
This is the key ID for encryption key.
|
EncryptionKeyType |
getKeyType()
The type of customer encryption key.
|
String |
getLogSets()
This is a list of logsets associated with this work request
|
String |
getOperationDetails()
This provides more detailed info about the work request if applicable
|
StorageOperationType |
getOperationType()
This is the type of the work request.
|
Integer |
getPercentComplete()
Percentage progress completion of the work request.
|
String |
getPolicyId()
This is the purge policy ID if applicable
|
String |
getPolicyName()
This is the policy name if applicable (e.g.
|
String |
getPurgeQueryString()
This is the solr query used to filter data for purge, ‘*’ means all
|
String |
getPurpose()
This is the purpose of the operation associated with this work request
|
String |
getQuery()
This is the query string applied on the operation associated with this work request
|
WorkRequestStatus |
getStatus()
This is the work request status.
|
String |
getStatusDetails()
This provides more detailed status if applicable
|
Long |
getStorageUsageInBytes()
This is the data usage in bytes if applicable
|
Date |
getTimeAccepted()
When the work request was accepted.
|
Date |
getTimeDataEnded()
This is the end of the time interval
|
Date |
getTimeDataStarted()
This is the start of the time interval
|
Date |
getTimeExpires()
When the work request will expire.
|
Date |
getTimeFinished()
When the work request finished execution.
|
Date |
getTimeStarted()
When the work request started.
|
int |
hashCode() |
StorageWorkRequestSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","compartmentId","timeStarted","timeAccepted","timeFinished","timeExpires","percentComplete","status","timeDataStarted","timeDataEnded","purgeQueryString","dataType","statusDetails","operationDetails","policyName","policyId","storageUsageInBytes","compartmentIdInSubtree","operationType","keyId","keyType","logSets","purpose","query","isRecallNewDataOnly","isUseRecommendedDataSet"}) public StorageWorkRequestSummary(String id, String compartmentId, Date timeStarted, Date timeAccepted, Date timeFinished, Date timeExpires, Integer percentComplete, WorkRequestStatus status, Date timeDataStarted, Date timeDataEnded, String purgeQueryString, StorageDataType dataType, String statusDetails, String operationDetails, String policyName, String policyId, Long storageUsageInBytes, Boolean compartmentIdInSubtree, StorageOperationType operationType, String keyId, EncryptionKeyType keyType, String logSets, String purpose, String query, Boolean isRecallNewDataOnly, Boolean isUseRecommendedDataSet)
public static StorageWorkRequestSummary.Builder builder()
Create a new builder.
public StorageWorkRequestSummary.Builder toBuilder()
public String getId()
This is the OCID of the storage work Request.
public String getCompartmentId()
Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
public Date getTimeStarted()
When the work request started.
public Date getTimeAccepted()
When the work request was accepted. Should match timeStarted in all cases.
public Date getTimeFinished()
When the work request finished execution.
public Date getTimeExpires()
When the work request will expire.
public Integer getPercentComplete()
Percentage progress completion of the work request.
public WorkRequestStatus getStatus()
This is the work request status.
public Date getTimeDataStarted()
This is the start of the time interval
public Date getTimeDataEnded()
This is the end of the time interval
public String getPurgeQueryString()
This is the solr query used to filter data for purge, ‘*’ means all
public StorageDataType getDataType()
Thie is the type of data to be purged
public String getStatusDetails()
This provides more detailed status if applicable
public String getOperationDetails()
This provides more detailed info about the work request if applicable
public String getPolicyName()
This is the policy name if applicable (e.g. purge policy)
public String getPolicyId()
This is the purge policy ID if applicable
public Long getStorageUsageInBytes()
This is the data usage in bytes if applicable
public Boolean getCompartmentIdInSubtree()
If true, purge child compartments data, only applicable to purge request
public StorageOperationType getOperationType()
This is the type of the work request.
public String getKeyId()
This is the key ID for encryption key.
public EncryptionKeyType getKeyType()
The type of customer encryption key. It can be archival, active or all.
public String getLogSets()
This is a list of logsets associated with this work request
public String getPurpose()
This is the purpose of the operation associated with this work request
public String getQuery()
This is the query string applied on the operation associated with this work request
public Boolean getIsRecallNewDataOnly()
This is the flag to indicate if only new data has to be recalled in this work request
public Boolean getIsUseRecommendedDataSet()
This indicates if user checked system recommended time range
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.