Interface SourceSelectionCriteria.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SourceSelectionCriteria.Builder,SourceSelectionCriteria>,SdkBuilder<SourceSelectionCriteria.Builder,SourceSelectionCriteria>,SdkPojo
- Enclosing class:
- SourceSelectionCriteria
@Mutable @NotThreadSafe 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.BuilderreplicaModifications(Consumer<ReplicaModifications.Builder> replicaModifications)A filter that you can specify for selections for modifications on replicas.SourceSelectionCriteria.BuilderreplicaModifications(ReplicaModifications replicaModifications)A filter that you can specify for selections for modifications on replicas.default SourceSelectionCriteria.BuildersseKmsEncryptedObjects(Consumer<SseKmsEncryptedObjects.Builder> sseKmsEncryptedObjects)A container for filter information for the selection of Amazon S3 objects encrypted with Amazon Web Services KMS.SourceSelectionCriteria.BuildersseKmsEncryptedObjects(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, sdkFieldNameToField, 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
SourceSelectionCriteriain 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 includeSourceSelectionCriteriain 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 theSourceSelectionCriteriain the replication configuration, this element is required.SseKmsEncryptedObjects.Builderavoiding the need to create one manually viaSseKmsEncryptedObjects.builder().When the
Consumercompletes,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
Filteris specified), you can specify this element and set the status toEnabledto replicate modifications on replicas.If you don't specify the
Filterelement, 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 (whenFilteris specified), you can specify this element and set the status toEnabledto replicate modifications on replicas.If you don't specify the
Filterelement, 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
Filteris specified), you can specify this element and set the status toEnabledto replicate modifications on replicas. This is a convenience method that creates an instance of theIf you don't specify the
Filterelement, Amazon S3 assumes that the replication configuration is the earlier version, V1. In the earlier version, this element is not allowedReplicaModifications.Builderavoiding the need to create one manually viaReplicaModifications.builder().When the
Consumercompletes,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)
-
-