@Stability(value=Stable)
public static interface CfnBucket.ReplicationRuleProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3.*;
ReplicationRuleProperty replicationRuleProperty = ReplicationRuleProperty.builder()
.destination(ReplicationDestinationProperty.builder()
.bucket("bucket")
// the properties below are optional
.accessControlTranslation(AccessControlTranslationProperty.builder()
.owner("owner")
.build())
.account("account")
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.replicaKmsKeyId("replicaKmsKeyId")
.build())
.metrics(MetricsProperty.builder()
.status("status")
// the properties below are optional
.eventThreshold(ReplicationTimeValueProperty.builder()
.minutes(123)
.build())
.build())
.replicationTime(ReplicationTimeProperty.builder()
.status("status")
.time(ReplicationTimeValueProperty.builder()
.minutes(123)
.build())
.build())
.storageClass("storageClass")
.build())
.status("status")
// the properties below are optional
.deleteMarkerReplication(DeleteMarkerReplicationProperty.builder()
.status("status")
.build())
.filter(ReplicationRuleFilterProperty.builder()
.and(ReplicationRuleAndOperatorProperty.builder()
.prefix("prefix")
.tagFilters(List.of(TagFilterProperty.builder()
.key("key")
.value("value")
.build()))
.build())
.prefix("prefix")
.tagFilter(TagFilterProperty.builder()
.key("key")
.value("value")
.build())
.build())
.id("id")
.prefix("prefix")
.priority(123)
.sourceSelectionCriteria(SourceSelectionCriteriaProperty.builder()
.replicaModifications(ReplicaModificationsProperty.builder()
.status("status")
.build())
.sseKmsEncryptedObjects(SseKmsEncryptedObjectsProperty.builder()
.status("status")
.build())
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBucket.ReplicationRuleProperty.Builder
A builder for
CfnBucket.ReplicationRuleProperty |
static class |
CfnBucket.ReplicationRuleProperty.Jsii$Proxy
An implementation for
CfnBucket.ReplicationRuleProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBucket.ReplicationRuleProperty.Builder |
builder() |
default Object |
getDeleteMarkerReplication()
`CfnBucket.ReplicationRuleProperty.DeleteMarkerReplication`.
|
Object |
getDestination()
`CfnBucket.ReplicationRuleProperty.Destination`.
|
default Object |
getFilter()
`CfnBucket.ReplicationRuleProperty.Filter`.
|
default String |
getId()
`CfnBucket.ReplicationRuleProperty.Id`.
|
default String |
getPrefix()
`CfnBucket.ReplicationRuleProperty.Prefix`.
|
default Number |
getPriority()
`CfnBucket.ReplicationRuleProperty.Priority`.
|
default Object |
getSourceSelectionCriteria()
`CfnBucket.ReplicationRuleProperty.SourceSelectionCriteria`.
|
String |
getStatus()
`CfnBucket.ReplicationRuleProperty.Status`.
|
@Stability(value=Stable) @Nullable default Object getDeleteMarkerReplication()
@Stability(value=Stable) @NotNull Object getDestination()
@Stability(value=Stable) @Nullable default Object getFilter()
@Stability(value=Stable) @Nullable default String getId()
@Stability(value=Stable) @Nullable default String getPrefix()
@Stability(value=Stable) @Nullable default Number getPriority()
@Stability(value=Stable) @Nullable default Object getSourceSelectionCriteria()
@Stability(value=Stable) @NotNull String getStatus()
@Stability(value=Stable) static CfnBucket.ReplicationRuleProperty.Builder builder()
Copyright © 2021. All rights reserved.