@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3CopyObjectOperation extends Object implements Serializable, Cloneable
Contains the configuration parameters for a PUT Copy object operation. Amazon S3 batch operations passes each value through to the underlying PUT Copy object API. For more information about the parameters for this operation, see PUT Object - Copy.
| Constructor and Description |
|---|
S3CopyObjectOperation() |
public void setTargetResource(String targetResource)
targetResource - public String getTargetResource()
public S3CopyObjectOperation withTargetResource(String targetResource)
targetResource - public void setCannedAccessControlList(String cannedAccessControlList)
cannedAccessControlList - S3CannedAccessControlListpublic String getCannedAccessControlList()
S3CannedAccessControlListpublic S3CopyObjectOperation withCannedAccessControlList(String cannedAccessControlList)
cannedAccessControlList - S3CannedAccessControlListpublic S3CopyObjectOperation withCannedAccessControlList(S3CannedAccessControlList cannedAccessControlList)
cannedAccessControlList - S3CannedAccessControlListpublic void setAccessControlGrants(Collection<S3Grant> accessControlGrants)
accessControlGrants - public S3CopyObjectOperation withAccessControlGrants(S3Grant... accessControlGrants)
NOTE: This method appends the values to the existing list (if any). Use
setAccessControlGrants(java.util.Collection) or withAccessControlGrants(java.util.Collection)
if you want to override the existing values.
accessControlGrants - public S3CopyObjectOperation withAccessControlGrants(Collection<S3Grant> accessControlGrants)
accessControlGrants - public void setMetadataDirective(String metadataDirective)
metadataDirective - S3MetadataDirectivepublic String getMetadataDirective()
S3MetadataDirectivepublic S3CopyObjectOperation withMetadataDirective(String metadataDirective)
metadataDirective - S3MetadataDirectivepublic S3CopyObjectOperation withMetadataDirective(S3MetadataDirective metadataDirective)
metadataDirective - S3MetadataDirectivepublic void setModifiedSinceConstraint(Date modifiedSinceConstraint)
modifiedSinceConstraint - public Date getModifiedSinceConstraint()
public S3CopyObjectOperation withModifiedSinceConstraint(Date modifiedSinceConstraint)
modifiedSinceConstraint - public void setNewObjectMetadata(S3ObjectMetadata newObjectMetadata)
newObjectMetadata - public S3ObjectMetadata getNewObjectMetadata()
public S3CopyObjectOperation withNewObjectMetadata(S3ObjectMetadata newObjectMetadata)
newObjectMetadata - public void setNewObjectTagging(Collection<S3Tag> newObjectTagging)
newObjectTagging - public S3CopyObjectOperation withNewObjectTagging(S3Tag... newObjectTagging)
NOTE: This method appends the values to the existing list (if any). Use
setNewObjectTagging(java.util.Collection) or withNewObjectTagging(java.util.Collection) if you
want to override the existing values.
newObjectTagging - public S3CopyObjectOperation withNewObjectTagging(Collection<S3Tag> newObjectTagging)
newObjectTagging - public void setRedirectLocation(String redirectLocation)
redirectLocation - public String getRedirectLocation()
public S3CopyObjectOperation withRedirectLocation(String redirectLocation)
redirectLocation - public void setRequesterPays(Boolean requesterPays)
requesterPays - public Boolean getRequesterPays()
public S3CopyObjectOperation withRequesterPays(Boolean requesterPays)
requesterPays - public Boolean isRequesterPays()
public void setStorageClass(String storageClass)
storageClass - S3StorageClasspublic String getStorageClass()
S3StorageClasspublic S3CopyObjectOperation withStorageClass(String storageClass)
storageClass - S3StorageClasspublic S3CopyObjectOperation withStorageClass(S3StorageClass storageClass)
storageClass - S3StorageClasspublic void setUnModifiedSinceConstraint(Date unModifiedSinceConstraint)
unModifiedSinceConstraint - public Date getUnModifiedSinceConstraint()
public S3CopyObjectOperation withUnModifiedSinceConstraint(Date unModifiedSinceConstraint)
unModifiedSinceConstraint - public void setSSEAwsKmsKeyId(String sSEAwsKmsKeyId)
sSEAwsKmsKeyId - public String getSSEAwsKmsKeyId()
public S3CopyObjectOperation withSSEAwsKmsKeyId(String sSEAwsKmsKeyId)
sSEAwsKmsKeyId - public void setTargetKeyPrefix(String targetKeyPrefix)
targetKeyPrefix - public String getTargetKeyPrefix()
public S3CopyObjectOperation withTargetKeyPrefix(String targetKeyPrefix)
targetKeyPrefix - public void setObjectLockLegalHoldStatus(String objectLockLegalHoldStatus)
objectLockLegalHoldStatus - S3ObjectLockLegalHoldStatuspublic String getObjectLockLegalHoldStatus()
S3ObjectLockLegalHoldStatuspublic S3CopyObjectOperation withObjectLockLegalHoldStatus(String objectLockLegalHoldStatus)
objectLockLegalHoldStatus - S3ObjectLockLegalHoldStatuspublic S3CopyObjectOperation withObjectLockLegalHoldStatus(S3ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
objectLockLegalHoldStatus - S3ObjectLockLegalHoldStatuspublic void setObjectLockMode(String objectLockMode)
objectLockMode - S3ObjectLockModepublic String getObjectLockMode()
S3ObjectLockModepublic S3CopyObjectOperation withObjectLockMode(String objectLockMode)
objectLockMode - S3ObjectLockModepublic S3CopyObjectOperation withObjectLockMode(S3ObjectLockMode objectLockMode)
objectLockMode - S3ObjectLockModepublic void setObjectLockRetainUntilDate(Date objectLockRetainUntilDate)
objectLockRetainUntilDate - public Date getObjectLockRetainUntilDate()
public S3CopyObjectOperation withObjectLockRetainUntilDate(Date objectLockRetainUntilDate)
objectLockRetainUntilDate - public String toString()
toString in class ObjectObject.toString()public S3CopyObjectOperation clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.