Class CopyObjectRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<CopyObjectDetails>
-
- com.oracle.bmc.objectstorage.requests.CopyObjectRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class CopyObjectRequest extends BmcRequest<CopyObjectDetails>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/objectstorage/CopyObjectExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CopyObjectRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CopyObjectRequest.Builder
-
Constructor Summary
Constructors Constructor Description CopyObjectRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CopyObjectRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.CopyObjectDetails
getBody$()
Alternative accessor for the body parameter.String
getBucketName()
The name of the bucket.CopyObjectDetails
getCopyObjectDetails()
The source and destination of the object to be copied.String
getNamespaceName()
The Object Storage namespace used for the request.String
getOpcClientRequestId()
The client request ID for tracing.String
getOpcSourceSseCustomerAlgorithm()
The optional header that specifies “AES256” as the encryption algorithm to use to decrypt the source object.String
getOpcSourceSseCustomerKey()
The optional header that specifies the base64-encoded 256-bit encryption key to use to decrypt the source object.String
getOpcSourceSseCustomerKeySha256()
The optional header that specifies the base64-encoded SHA256 hash of the encryption key used to decrypt the source object.String
getOpcSseCustomerAlgorithm()
The optional header that specifies “AES256” as the encryption algorithm.String
getOpcSseCustomerKey()
The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or decrypt the data.String
getOpcSseCustomerKeySha256()
The optional header that specifies the base64-encoded SHA256 hash of the encryption key.String
getOpcSseKmsKeyId()
The OCID of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.CopyObjectRequest.Builder
toBuilder()
Return an instance ofCopyObjectRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getNamespaceName
public String getNamespaceName()
The Object Storage namespace used for the request.
-
getBucketName
public String getBucketName()
The name of the bucket.Avoid entering confidential information. Example: my-new-bucket1
-
getCopyObjectDetails
public CopyObjectDetails getCopyObjectDetails()
The source and destination of the object to be copied.
-
getOpcClientRequestId
public String getOpcClientRequestId()
The client request ID for tracing.
-
getOpcSseCustomerAlgorithm
public String getOpcSseCustomerAlgorithm()
The optional header that specifies “AES256” as the encryption algorithm.For more information, see Using Your Own Keys for Server-Side Encryption.
-
getOpcSseCustomerKey
public String getOpcSseCustomerKey()
The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or decrypt the data.For more information, see Using Your Own Keys for Server-Side Encryption.
-
getOpcSseCustomerKeySha256
public String getOpcSseCustomerKeySha256()
The optional header that specifies the base64-encoded SHA256 hash of the encryption key.This value is used to check the integrity of the encryption key. For more information, see Using Your Own Keys for Server-Side Encryption.
-
getOpcSourceSseCustomerAlgorithm
public String getOpcSourceSseCustomerAlgorithm()
The optional header that specifies “AES256” as the encryption algorithm to use to decrypt the source object.For more information, see Using Your Own Keys for Server-Side Encryption.
-
getOpcSourceSseCustomerKey
public String getOpcSourceSseCustomerKey()
The optional header that specifies the base64-encoded 256-bit encryption key to use to decrypt the source object.For more information, see Using Your Own Keys for Server-Side Encryption.
-
getOpcSourceSseCustomerKeySha256
public String getOpcSourceSseCustomerKeySha256()
The optional header that specifies the base64-encoded SHA256 hash of the encryption key used to decrypt the source object.This value is used to check the integrity of the encryption key. For more information, see Using Your Own Keys for Server-Side Encryption.
-
getOpcSseKmsKeyId
public String getOpcSseKmsKeyId()
The OCID of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
-
getBody$
public CopyObjectDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$
in classBmcRequest<CopyObjectDetails>
- Returns:
- body parameter
-
toBuilder
public CopyObjectRequest.Builder toBuilder()
Return an instance ofCopyObjectRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
CopyObjectRequest.Builder
that allows you to modify request properties.
-
builder
public static CopyObjectRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<CopyObjectDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<CopyObjectDetails>
-
-