Interface SourceSelectionCriteria.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SourceSelectionCriteria.Builder,SourceSelectionCriteria>, SdkBuilder<SourceSelectionCriteria.Builder,SourceSelectionCriteria>, SdkPojo
Enclosing class:
SourceSelectionCriteria

public static interface SourceSelectionCriteria.Builder extends SdkPojo, CopyableBuilder<SourceSelectionCriteria.Builder,SourceSelectionCriteria>
  • Method Details

    • sseKmsEncryptedObjects

      SourceSelectionCriteria.Builder sseKmsEncryptedObjects(SseKmsEncryptedObjects sseKmsEncryptedObjects)

      A container for filter information for the selection of Amazon S3 objects encrypted with Amazon Web Services KMS. If you include SourceSelectionCriteria in the replication configuration, this element is required.

      Parameters:
      sseKmsEncryptedObjects - A container for filter information for the selection of Amazon S3 objects encrypted with Amazon Web Services KMS. If you include SourceSelectionCriteria in the replication configuration, this element is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sseKmsEncryptedObjects

      default SourceSelectionCriteria.Builder sseKmsEncryptedObjects(Consumer<SseKmsEncryptedObjects.Builder> sseKmsEncryptedObjects)

      A container for filter information for the selection of Amazon S3 objects encrypted with Amazon Web Services KMS. If you include SourceSelectionCriteria in the replication configuration, this element is required.

      This is a convenience method that creates an instance of the SseKmsEncryptedObjects.Builder avoiding the need to create one manually via SseKmsEncryptedObjects.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sseKmsEncryptedObjects(SseKmsEncryptedObjects).

      Parameters:
      sseKmsEncryptedObjects - a consumer that will call methods on SseKmsEncryptedObjects.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • replicaModifications

      SourceSelectionCriteria.Builder replicaModifications(ReplicaModifications replicaModifications)

      A filter that you can specify for selections for modifications on replicas. Amazon S3 doesn't replicate replica modifications by default. In the latest version of replication configuration (when Filter is specified), you can specify this element and set the status to Enabled to replicate modifications on replicas.

      If you don't specify the Filter element, Amazon S3 assumes that the replication configuration is the earlier version, V1. In the earlier version, this element is not allowed

      Parameters:
      replicaModifications - A filter that you can specify for selections for modifications on replicas. Amazon S3 doesn't replicate replica modifications by default. In the latest version of replication configuration (when Filter is specified), you can specify this element and set the status to Enabled to replicate modifications on replicas.

      If you don't specify the Filter element, Amazon S3 assumes that the replication configuration is the earlier version, V1. In the earlier version, this element is not allowed

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicaModifications

      default SourceSelectionCriteria.Builder replicaModifications(Consumer<ReplicaModifications.Builder> replicaModifications)

      A filter that you can specify for selections for modifications on replicas. Amazon S3 doesn't replicate replica modifications by default. In the latest version of replication configuration (when Filter is specified), you can specify this element and set the status to Enabled to replicate modifications on replicas.

      If you don't specify the Filter element, Amazon S3 assumes that the replication configuration is the earlier version, V1. In the earlier version, this element is not allowed

      This is a convenience method that creates an instance of the ReplicaModifications.Builder avoiding the need to create one manually via ReplicaModifications.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to replicaModifications(ReplicaModifications).

      Parameters:
      replicaModifications - a consumer that will call methods on ReplicaModifications.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: