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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SourceSelectionCriteria.Builder
replicaModifications(Consumer<ReplicaModifications.Builder> replicaModifications)
A filter that you can specify for selections for modifications on replicas.SourceSelectionCriteria.Builder
replicaModifications(ReplicaModifications replicaModifications)
A filter that you can specify for selections for modifications on replicas.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.SourceSelectionCriteria.Builder
sseKmsEncryptedObjects(SseKmsEncryptedObjects sseKmsEncryptedObjects)
A container for filter information for the selection of Amazon S3 objects encrypted with Amazon Web Services KMS.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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 includeSourceSelectionCriteria
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
This is a convenience method that creates an instance of theSourceSelectionCriteria
in the replication configuration, this element is required.SseKmsEncryptedObjects.Builder
avoiding the need to create one manually viaSseKmsEncryptedObjects.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosseKmsEncryptedObjects(SseKmsEncryptedObjects)
.- Parameters:
sseKmsEncryptedObjects
- a consumer that will call methods onSseKmsEncryptedObjects.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sseKmsEncryptedObjects(SseKmsEncryptedObjects)
-
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 toEnabled
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 (whenFilter
is specified), you can specify this element and set the status toEnabled
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 toEnabled
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 allowedReplicaModifications.Builder
avoiding the need to create one manually viaReplicaModifications.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicaModifications(ReplicaModifications)
.- Parameters:
replicaModifications
- a consumer that will call methods onReplicaModifications.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
replicaModifications(ReplicaModifications)
-
-