Class CopyObjectRequestSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.dataintegration.model.CopyObjectRequestSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class CopyObjectRequestSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelCopy metadata object response summary.
Note: Objects should always be created or deserialized using theCopyObjectRequestSummary.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 theCopyObjectRequestSummary.Builder, which maintain a set of all explicitly set fields calledCopyObjectRequestSummary.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCopyObjectRequestSummary.Builderstatic classCopyObjectRequestSummary.CopyMetadataObjectRequestStatusCopy Object request status.
-
Constructor Summary
Constructors Constructor Description CopyObjectRequestSummary(String key, String sourceWorkspaceId, List<String> objectKeys, CopyConflictResolution copyConflictResolution, CopyObjectRequestSummary.CopyMetadataObjectRequestStatus copyMetadataObjectRequestStatus, String createdBy, String createdByName, Integer totalSourceObjectCount, Integer totalObjectsCopiedIntoTarget, Long timeStartedInMillis, Long timeEndedInMillis, List<CopyObjectMetadataSummary> copiedItems, List<CopyObjectMetadataSummary> referencedItems, String name)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CopyObjectRequestSummary.Builderbuilder()Create a new builder.booleanequals(Object o)List<CopyObjectMetadataSummary>getCopiedItems()The array of copy object details.CopyConflictResolutiongetCopyConflictResolution()CopyObjectRequestSummary.CopyMetadataObjectRequestStatusgetCopyMetadataObjectRequestStatus()Copy Object request status.StringgetCreatedBy()OCID of the user who initiated copy request.StringgetCreatedByName()Name of the user who created the copy object request.StringgetKey()Copy object request key.StringgetName()Name of the copy object request.List<String>getObjectKeys()The list of the objects to be copied.List<CopyObjectMetadataSummary>getReferencedItems()The array of copied referenced objects.StringgetSourceWorkspaceId()The workspace id of the source from where we need to copy object.LonggetTimeEndedInMillis()Time at which the request was completely processed.LonggetTimeStartedInMillis()Time at which the request started getting processed.IntegergetTotalObjectsCopiedIntoTarget()Number of objects copied into the target.IntegergetTotalSourceObjectCount()Number of source objects to be copied.inthashCode()CopyObjectRequestSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CopyObjectRequestSummary
@Deprecated @ConstructorProperties({"key","sourceWorkspaceId","objectKeys","copyConflictResolution","copyMetadataObjectRequestStatus","createdBy","createdByName","totalSourceObjectCount","totalObjectsCopiedIntoTarget","timeStartedInMillis","timeEndedInMillis","copiedItems","referencedItems","name"}) public CopyObjectRequestSummary(String key, String sourceWorkspaceId, List<String> objectKeys, CopyConflictResolution copyConflictResolution, CopyObjectRequestSummary.CopyMetadataObjectRequestStatus copyMetadataObjectRequestStatus, String createdBy, String createdByName, Integer totalSourceObjectCount, Integer totalObjectsCopiedIntoTarget, Long timeStartedInMillis, Long timeEndedInMillis, List<CopyObjectMetadataSummary> copiedItems, List<CopyObjectMetadataSummary> referencedItems, String name)
Deprecated.
-
-
Method Detail
-
builder
public static CopyObjectRequestSummary.Builder builder()
Create a new builder.
-
toBuilder
public CopyObjectRequestSummary.Builder toBuilder()
-
getKey
public String getKey()
Copy object request key.- Returns:
- the value
-
getSourceWorkspaceId
public String getSourceWorkspaceId()
The workspace id of the source from where we need to copy object.- Returns:
- the value
-
getObjectKeys
public List<String> getObjectKeys()
The list of the objects to be copied.- Returns:
- the value
-
getCopyConflictResolution
public CopyConflictResolution getCopyConflictResolution()
-
getCopyMetadataObjectRequestStatus
public CopyObjectRequestSummary.CopyMetadataObjectRequestStatus getCopyMetadataObjectRequestStatus()
Copy Object request status.- Returns:
- the value
-
getCreatedBy
public String getCreatedBy()
OCID of the user who initiated copy request.- Returns:
- the value
-
getCreatedByName
public String getCreatedByName()
Name of the user who created the copy object request.- Returns:
- the value
-
getTotalSourceObjectCount
public Integer getTotalSourceObjectCount()
Number of source objects to be copied.- Returns:
- the value
-
getTotalObjectsCopiedIntoTarget
public Integer getTotalObjectsCopiedIntoTarget()
Number of objects copied into the target.- Returns:
- the value
-
getTimeStartedInMillis
public Long getTimeStartedInMillis()
Time at which the request started getting processed.- Returns:
- the value
-
getTimeEndedInMillis
public Long getTimeEndedInMillis()
Time at which the request was completely processed.- Returns:
- the value
-
getCopiedItems
public List<CopyObjectMetadataSummary> getCopiedItems()
The array of copy object details.- Returns:
- the value
-
getReferencedItems
public List<CopyObjectMetadataSummary> getReferencedItems()
The array of copied referenced objects.- Returns:
- the value
-
getName
public String getName()
Name of the copy object request.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-