public static class CopyObjectRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CopyObjectRequest |
build() |
CopyObjectRequest.Builder |
copiedItems(List<CopyObjectMetadataSummary> copiedItems)
The array of copy object details.
|
CopyObjectRequest.Builder |
copy(CopyObjectRequest model) |
CopyObjectRequest.Builder |
copyConflictResolution(CopyConflictResolution copyConflictResolution) |
CopyObjectRequest.Builder |
copyMetadataObjectRequestStatus(CopyObjectRequest.CopyMetadataObjectRequestStatus copyMetadataObjectRequestStatus)
Copy Object request status.
|
CopyObjectRequest.Builder |
createdBy(String createdBy)
OCID of the user who initiated copy request.
|
CopyObjectRequest.Builder |
createdByName(String createdByName)
Name of the user who created the copy object request.
|
CopyObjectRequest.Builder |
key(String key)
Copy object request key.
|
CopyObjectRequest.Builder |
name(String name)
Name of the copy object request.
|
CopyObjectRequest.Builder |
objectKeys(List<String> objectKeys)
The list of the objects to be copied.
|
CopyObjectRequest.Builder |
referencedItems(List<CopyObjectMetadataSummary> referencedItems)
The array of copied referenced objects.
|
CopyObjectRequest.Builder |
sourceWorkspaceId(String sourceWorkspaceId)
The workspace id of the source from where we need to copy object.
|
CopyObjectRequest.Builder |
timeEndedInMillis(Long timeEndedInMillis)
Time at which the request was completely processed.
|
CopyObjectRequest.Builder |
timeStartedInMillis(Long timeStartedInMillis)
Time at which the request started getting processed.
|
CopyObjectRequest.Builder |
totalObjectsCopiedIntoTarget(Integer totalObjectsCopiedIntoTarget)
Number of objects copied into the target.
|
CopyObjectRequest.Builder |
totalSourceObjectCount(Integer totalSourceObjectCount)
Number of source objects to be copied.
|
public CopyObjectRequest.Builder key(String key)
Copy object request key.
key
- the value to setpublic CopyObjectRequest.Builder sourceWorkspaceId(String sourceWorkspaceId)
The workspace id of the source from where we need to copy object.
sourceWorkspaceId
- the value to setpublic CopyObjectRequest.Builder objectKeys(List<String> objectKeys)
The list of the objects to be copied.
objectKeys
- the value to setpublic CopyObjectRequest.Builder copyConflictResolution(CopyConflictResolution copyConflictResolution)
public CopyObjectRequest.Builder copyMetadataObjectRequestStatus(CopyObjectRequest.CopyMetadataObjectRequestStatus copyMetadataObjectRequestStatus)
Copy Object request status.
copyMetadataObjectRequestStatus
- the value to setpublic CopyObjectRequest.Builder createdBy(String createdBy)
OCID of the user who initiated copy request.
createdBy
- the value to setpublic CopyObjectRequest.Builder createdByName(String createdByName)
Name of the user who created the copy object request.
createdByName
- the value to setpublic CopyObjectRequest.Builder totalSourceObjectCount(Integer totalSourceObjectCount)
Number of source objects to be copied.
totalSourceObjectCount
- the value to setpublic CopyObjectRequest.Builder totalObjectsCopiedIntoTarget(Integer totalObjectsCopiedIntoTarget)
Number of objects copied into the target.
totalObjectsCopiedIntoTarget
- the value to setpublic CopyObjectRequest.Builder timeStartedInMillis(Long timeStartedInMillis)
Time at which the request started getting processed.
timeStartedInMillis
- the value to setpublic CopyObjectRequest.Builder timeEndedInMillis(Long timeEndedInMillis)
Time at which the request was completely processed.
timeEndedInMillis
- the value to setpublic CopyObjectRequest.Builder copiedItems(List<CopyObjectMetadataSummary> copiedItems)
The array of copy object details.
copiedItems
- the value to setpublic CopyObjectRequest.Builder referencedItems(List<CopyObjectMetadataSummary> referencedItems)
The array of copied referenced objects.
referencedItems
- the value to setpublic CopyObjectRequest.Builder name(String name)
Name of the copy object request.
name
- the value to setpublic CopyObjectRequest build()
public CopyObjectRequest.Builder copy(CopyObjectRequest model)
Copyright © 2016–2024. All rights reserved.