public static interface S3CopyObjectOperation.Builder extends SdkPojo, CopyableBuilder<S3CopyObjectOperation.Builder,S3CopyObjectOperation>
| Modifier and Type | Method and Description |
|---|---|
S3CopyObjectOperation.Builder |
accessControlGrants(Collection<S3Grant> accessControlGrants)
|
S3CopyObjectOperation.Builder |
accessControlGrants(Consumer<S3Grant.Builder>... accessControlGrants)
This is a convenience that creates an instance of the
List avoiding the need to
create one manually via List. |
S3CopyObjectOperation.Builder |
accessControlGrants(S3Grant... accessControlGrants)
|
S3CopyObjectOperation.Builder |
cannedAccessControlList(S3CannedAccessControlList cannedAccessControlList)
|
S3CopyObjectOperation.Builder |
cannedAccessControlList(String cannedAccessControlList)
|
S3CopyObjectOperation.Builder |
metadataDirective(S3MetadataDirective metadataDirective)
|
S3CopyObjectOperation.Builder |
metadataDirective(String metadataDirective)
|
S3CopyObjectOperation.Builder |
modifiedSinceConstraint(Instant modifiedSinceConstraint)
|
default S3CopyObjectOperation.Builder |
newObjectMetadata(Consumer<S3ObjectMetadata.Builder> newObjectMetadata)
This is a convenience that creates an instance of the
S3ObjectMetadata.Builder avoiding the need to
create one manually via S3ObjectMetadata.builder(). |
S3CopyObjectOperation.Builder |
newObjectMetadata(S3ObjectMetadata newObjectMetadata)
|
S3CopyObjectOperation.Builder |
newObjectTagging(Collection<S3Tag> newObjectTagging)
|
S3CopyObjectOperation.Builder |
newObjectTagging(Consumer<S3Tag.Builder>... newObjectTagging)
This is a convenience that creates an instance of the
List avoiding the need to create
one manually via List. |
S3CopyObjectOperation.Builder |
newObjectTagging(S3Tag... newObjectTagging)
|
S3CopyObjectOperation.Builder |
objectLockLegalHoldStatus(S3ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
The legal hold status to be applied to all objects in the Batch Operations job.
|
S3CopyObjectOperation.Builder |
objectLockLegalHoldStatus(String objectLockLegalHoldStatus)
The legal hold status to be applied to all objects in the Batch Operations job.
|
S3CopyObjectOperation.Builder |
objectLockMode(S3ObjectLockMode objectLockMode)
The retention mode to be applied to all objects in the Batch Operations job.
|
S3CopyObjectOperation.Builder |
objectLockMode(String objectLockMode)
The retention mode to be applied to all objects in the Batch Operations job.
|
S3CopyObjectOperation.Builder |
objectLockRetainUntilDate(Instant objectLockRetainUntilDate)
The date when the applied object retention configuration expires on all objects in the Batch Operations job.
|
S3CopyObjectOperation.Builder |
redirectLocation(String redirectLocation)
Specifies an optional metadata property for website redirects,
x-amz-website-redirect-location. |
S3CopyObjectOperation.Builder |
requesterPays(Boolean requesterPays)
|
S3CopyObjectOperation.Builder |
sseAwsKmsKeyId(String sseAwsKmsKeyId)
|
S3CopyObjectOperation.Builder |
storageClass(S3StorageClass storageClass)
|
S3CopyObjectOperation.Builder |
storageClass(String storageClass)
|
S3CopyObjectOperation.Builder |
targetKeyPrefix(String targetKeyPrefix)
Specifies the folder prefix into which you would like the objects to be copied.
|
S3CopyObjectOperation.Builder |
targetResource(String targetResource)
Specifies the destination bucket ARN for the batch copy operation.
|
S3CopyObjectOperation.Builder |
unModifiedSinceConstraint(Instant unModifiedSinceConstraint)
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildS3CopyObjectOperation.Builder targetResource(String targetResource)
Specifies the destination bucket ARN for the batch copy operation. For example, to copy objects to a bucket named "destinationBucket", set the TargetResource to "arn:aws:s3:::destinationBucket".
targetResource - Specifies the destination bucket ARN for the batch copy operation. For example, to copy objects to a
bucket named "destinationBucket", set the TargetResource to "arn:aws:s3:::destinationBucket".S3CopyObjectOperation.Builder cannedAccessControlList(String cannedAccessControlList)
cannedAccessControlList - S3CannedAccessControlList,
S3CannedAccessControlListS3CopyObjectOperation.Builder cannedAccessControlList(S3CannedAccessControlList cannedAccessControlList)
cannedAccessControlList - S3CannedAccessControlList,
S3CannedAccessControlListS3CopyObjectOperation.Builder accessControlGrants(Collection<S3Grant> accessControlGrants)
accessControlGrants - S3CopyObjectOperation.Builder accessControlGrants(S3Grant... accessControlGrants)
accessControlGrants - S3CopyObjectOperation.Builder accessControlGrants(Consumer<S3Grant.Builder>... accessControlGrants)
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #accessControlGrants(List) .accessControlGrants - a consumer that will call methods on List.Builder #accessControlGrants(List) S3CopyObjectOperation.Builder metadataDirective(String metadataDirective)
metadataDirective - S3MetadataDirective,
S3MetadataDirectiveS3CopyObjectOperation.Builder metadataDirective(S3MetadataDirective metadataDirective)
metadataDirective - S3MetadataDirective,
S3MetadataDirectiveS3CopyObjectOperation.Builder modifiedSinceConstraint(Instant modifiedSinceConstraint)
modifiedSinceConstraint - S3CopyObjectOperation.Builder newObjectMetadata(S3ObjectMetadata newObjectMetadata)
newObjectMetadata - default S3CopyObjectOperation.Builder newObjectMetadata(Consumer<S3ObjectMetadata.Builder> newObjectMetadata)
S3ObjectMetadata.Builder avoiding the need to
create one manually via S3ObjectMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to newObjectMetadata(S3ObjectMetadata).newObjectMetadata - a consumer that will call methods on S3ObjectMetadata.BuildernewObjectMetadata(S3ObjectMetadata)S3CopyObjectOperation.Builder newObjectTagging(Collection<S3Tag> newObjectTagging)
newObjectTagging - S3CopyObjectOperation.Builder newObjectTagging(S3Tag... newObjectTagging)
newObjectTagging - S3CopyObjectOperation.Builder newObjectTagging(Consumer<S3Tag.Builder>... newObjectTagging)
List.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #newObjectTagging(List) .newObjectTagging - a consumer that will call methods on List.Builder #newObjectTagging(List) S3CopyObjectOperation.Builder redirectLocation(String redirectLocation)
Specifies an optional metadata property for website redirects, x-amz-website-redirect-location.
Allows webpage redirects if the object is accessed through a website endpoint.
redirectLocation - Specifies an optional metadata property for website redirects,
x-amz-website-redirect-location. Allows webpage redirects if the object is accessed
through a website endpoint.S3CopyObjectOperation.Builder requesterPays(Boolean requesterPays)
requesterPays - S3CopyObjectOperation.Builder storageClass(String storageClass)
storageClass - S3StorageClass,
S3StorageClassS3CopyObjectOperation.Builder storageClass(S3StorageClass storageClass)
storageClass - S3StorageClass,
S3StorageClassS3CopyObjectOperation.Builder unModifiedSinceConstraint(Instant unModifiedSinceConstraint)
unModifiedSinceConstraint - S3CopyObjectOperation.Builder sseAwsKmsKeyId(String sseAwsKmsKeyId)
sseAwsKmsKeyId - S3CopyObjectOperation.Builder targetKeyPrefix(String targetKeyPrefix)
Specifies the folder prefix into which you would like the objects to be copied. For example, to copy objects into a folder named "Folder1" in the destination bucket, set the TargetKeyPrefix to "Folder1/".
targetKeyPrefix - Specifies the folder prefix into which you would like the objects to be copied. For example, to copy
objects into a folder named "Folder1" in the destination bucket, set the TargetKeyPrefix to
"Folder1/".S3CopyObjectOperation.Builder objectLockLegalHoldStatus(String objectLockLegalHoldStatus)
The legal hold status to be applied to all objects in the Batch Operations job.
objectLockLegalHoldStatus - The legal hold status to be applied to all objects in the Batch Operations job.S3ObjectLockLegalHoldStatus,
S3ObjectLockLegalHoldStatusS3CopyObjectOperation.Builder objectLockLegalHoldStatus(S3ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
The legal hold status to be applied to all objects in the Batch Operations job.
objectLockLegalHoldStatus - The legal hold status to be applied to all objects in the Batch Operations job.S3ObjectLockLegalHoldStatus,
S3ObjectLockLegalHoldStatusS3CopyObjectOperation.Builder objectLockMode(String objectLockMode)
The retention mode to be applied to all objects in the Batch Operations job.
objectLockMode - The retention mode to be applied to all objects in the Batch Operations job.S3ObjectLockMode,
S3ObjectLockModeS3CopyObjectOperation.Builder objectLockMode(S3ObjectLockMode objectLockMode)
The retention mode to be applied to all objects in the Batch Operations job.
objectLockMode - The retention mode to be applied to all objects in the Batch Operations job.S3ObjectLockMode,
S3ObjectLockModeS3CopyObjectOperation.Builder objectLockRetainUntilDate(Instant objectLockRetainUntilDate)
The date when the applied object retention configuration expires on all objects in the Batch Operations job.
objectLockRetainUntilDate - The date when the applied object retention configuration expires on all objects in the Batch
Operations job.Copyright © 2021. All rights reserved.