Class 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.

    • Constructor Detail

      • CopyObjectRequest

        public CopyObjectRequest()
    • 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.
      • 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.
      • 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 class BmcRequest<CopyObjectDetails>