Class CopyObjectRequest

    • Constructor Detail

      • CopyObjectRequest

        public CopyObjectRequest​(java.lang.String sourceBucketName,
                                 java.lang.String sourceKey,
                                 java.lang.String bucketName,
                                 java.lang.String key)
    • Method Detail

      • getHeaders

        public java.util.Map<java.lang.String,​java.util.List<java.lang.Object>> getHeaders()
        Description copied from class: ObjectRequest
        Override to return request-specific headers based on properties of the request. Always call super() first and modify the result.
        Overrides:
        getHeaders in class ObjectRequest
      • getSourceBucketName

        public java.lang.String getSourceBucketName()
      • getSourceKey

        public java.lang.String getSourceKey()
      • getSourceVersionId

        public java.lang.String getSourceVersionId()
      • setSourceVersionId

        public void setSourceVersionId​(java.lang.String sourceVersionId)
      • getIfSourceModifiedSince

        public java.util.Date getIfSourceModifiedSince()
      • setIfSourceModifiedSince

        public void setIfSourceModifiedSince​(java.util.Date ifSourceModifiedSince)
      • getIfSourceUnmodifiedSince

        public java.util.Date getIfSourceUnmodifiedSince()
      • setIfSourceUnmodifiedSince

        public void setIfSourceUnmodifiedSince​(java.util.Date ifSourceUnmodifiedSince)
      • getIfSourceMatch

        public java.lang.String getIfSourceMatch()
      • setIfSourceMatch

        public void setIfSourceMatch​(java.lang.String ifSourceMatch)
      • getIfSourceNoneMatch

        public java.lang.String getIfSourceNoneMatch()
      • setIfSourceNoneMatch

        public void setIfSourceNoneMatch​(java.lang.String ifSourceNoneMatch)
      • getIfTargetMatch

        public java.lang.String getIfTargetMatch()
      • setIfTargetMatch

        public void setIfTargetMatch​(java.lang.String ifTargetMatch)
      • getIfTargetNoneMatch

        public java.lang.String getIfTargetNoneMatch()
      • setIfTargetNoneMatch

        public void setIfTargetNoneMatch​(java.lang.String ifTargetNoneMatch)
      • setObjectMetadata

        public void setObjectMetadata​(S3ObjectMetadata objectMetadata)
      • getCannedAcl

        public CannedAcl getCannedAcl()
      • setCannedAcl

        public void setCannedAcl​(CannedAcl cannedAcl)
      • setObjectTagging

        public void setObjectTagging​(ObjectTagging objectTagging)
      • withSourceVersionId

        public CopyObjectRequest withSourceVersionId​(java.lang.String sourceVersionId)
      • withIfModifiedSince

        public CopyObjectRequest withIfModifiedSince​(java.util.Date ifModifiedSince)
      • withIfUnmodifiedSince

        public CopyObjectRequest withIfUnmodifiedSince​(java.util.Date ifUnmodifiedSince)
      • withIfNoneMatch

        public CopyObjectRequest withIfNoneMatch​(java.lang.String ifNoneMatch)