Class CfnBucket.SourceSelectionCriteriaProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.SourceSelectionCriteriaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.SourceSelectionCriteriaProperty>
- Enclosing interface:
- CfnBucket.SourceSelectionCriteriaProperty
@Stability(Stable)
public static final class CfnBucket.SourceSelectionCriteriaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.SourceSelectionCriteriaProperty>
A builder for
CfnBucket.SourceSelectionCriteriaProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.replicaModifications(IResolvable replicaModifications) Sets the value ofCfnBucket.SourceSelectionCriteriaProperty.getReplicaModifications()replicaModifications(CfnBucket.ReplicaModificationsProperty replicaModifications) Sets the value ofCfnBucket.SourceSelectionCriteriaProperty.getReplicaModifications()sseKmsEncryptedObjects(IResolvable sseKmsEncryptedObjects) Sets the value ofCfnBucket.SourceSelectionCriteriaProperty.getSseKmsEncryptedObjects()sseKmsEncryptedObjects(CfnBucket.SseKmsEncryptedObjectsProperty sseKmsEncryptedObjects) Sets the value ofCfnBucket.SourceSelectionCriteriaProperty.getSseKmsEncryptedObjects()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
replicaModifications
@Stability(Stable) public CfnBucket.SourceSelectionCriteriaProperty.Builder replicaModifications(IResolvable replicaModifications) Sets the value ofCfnBucket.SourceSelectionCriteriaProperty.getReplicaModifications()- Parameters:
replicaModifications- A filter that you can specify for selection for modifications on replicas.- Returns:
this
-
replicaModifications
@Stability(Stable) public CfnBucket.SourceSelectionCriteriaProperty.Builder replicaModifications(CfnBucket.ReplicaModificationsProperty replicaModifications) Sets the value ofCfnBucket.SourceSelectionCriteriaProperty.getReplicaModifications()- Parameters:
replicaModifications- A filter that you can specify for selection for modifications on replicas.- Returns:
this
-
sseKmsEncryptedObjects
@Stability(Stable) public CfnBucket.SourceSelectionCriteriaProperty.Builder sseKmsEncryptedObjects(IResolvable sseKmsEncryptedObjects) Sets the value ofCfnBucket.SourceSelectionCriteriaProperty.getSseKmsEncryptedObjects()- Parameters:
sseKmsEncryptedObjects- A container for filter information for the selection of Amazon S3 objects encrypted with AWS KMS.- Returns:
this
-
sseKmsEncryptedObjects
@Stability(Stable) public CfnBucket.SourceSelectionCriteriaProperty.Builder sseKmsEncryptedObjects(CfnBucket.SseKmsEncryptedObjectsProperty sseKmsEncryptedObjects) Sets the value ofCfnBucket.SourceSelectionCriteriaProperty.getSseKmsEncryptedObjects()- Parameters:
sseKmsEncryptedObjects- A container for filter information for the selection of Amazon S3 objects encrypted with AWS KMS.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucket.SourceSelectionCriteriaProperty>- Returns:
- a new instance of
CfnBucket.SourceSelectionCriteriaProperty - Throws:
NullPointerException- if any required attribute was not provided
-