@Generated(value="software.amazon.awssdk:codegen") public final class S3CopyObjectOperation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3CopyObjectOperation.Builder,S3CopyObjectOperation>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3CopyObjectOperation.Builder |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String targetResource()
public S3CannedAccessControlList cannedAccessControlList()
If the service returns an enum value that is not available in the current SDK version,
cannedAccessControlList will return S3CannedAccessControlList.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from cannedAccessControlListAsString().
S3CannedAccessControlListpublic String cannedAccessControlListAsString()
If the service returns an enum value that is not available in the current SDK version,
cannedAccessControlList will return S3CannedAccessControlList.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from cannedAccessControlListAsString().
S3CannedAccessControlListpublic boolean hasAccessControlGrants()
public List<S3Grant> accessControlGrants()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAccessControlGrants() to see if a value was sent in this field.
public S3MetadataDirective metadataDirective()
If the service returns an enum value that is not available in the current SDK version, metadataDirective
will return S3MetadataDirective.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from metadataDirectiveAsString().
S3MetadataDirectivepublic String metadataDirectiveAsString()
If the service returns an enum value that is not available in the current SDK version, metadataDirective
will return S3MetadataDirective.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from metadataDirectiveAsString().
S3MetadataDirectivepublic Instant modifiedSinceConstraint()
public S3ObjectMetadata newObjectMetadata()
public boolean hasNewObjectTagging()
public List<S3Tag> newObjectTagging()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNewObjectTagging() to see if a value was sent in this field.
public String redirectLocation()
public Boolean requesterPays()
public S3StorageClass storageClass()
If the service returns an enum value that is not available in the current SDK version, storageClass will
return S3StorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageClassAsString().
S3StorageClasspublic String storageClassAsString()
If the service returns an enum value that is not available in the current SDK version, storageClass will
return S3StorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageClassAsString().
S3StorageClasspublic Instant unModifiedSinceConstraint()
public String sseAwsKmsKeyId()
public String targetKeyPrefix()
public S3ObjectLockLegalHoldStatus objectLockLegalHoldStatus()
If the service returns an enum value that is not available in the current SDK version,
objectLockLegalHoldStatus will return S3ObjectLockLegalHoldStatus.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from objectLockLegalHoldStatusAsString().
S3ObjectLockLegalHoldStatuspublic String objectLockLegalHoldStatusAsString()
If the service returns an enum value that is not available in the current SDK version,
objectLockLegalHoldStatus will return S3ObjectLockLegalHoldStatus.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from objectLockLegalHoldStatusAsString().
S3ObjectLockLegalHoldStatuspublic S3ObjectLockMode objectLockMode()
If the service returns an enum value that is not available in the current SDK version, objectLockMode
will return S3ObjectLockMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from objectLockModeAsString().
S3ObjectLockModepublic String objectLockModeAsString()
If the service returns an enum value that is not available in the current SDK version, objectLockMode
will return S3ObjectLockMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from objectLockModeAsString().
S3ObjectLockModepublic Instant objectLockRetainUntilDate()
public S3CopyObjectOperation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3CopyObjectOperation.Builder,S3CopyObjectOperation>public static S3CopyObjectOperation.Builder builder()
public static Class<? extends S3CopyObjectOperation.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.