@Stability(value=Stable)
public static interface CfnBucket.ReplicationDestinationProperty
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.*;
ReplicationDestinationProperty replicationDestinationProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBucket.ReplicationDestinationProperty.Builder
A builder for
CfnBucket.ReplicationDestinationProperty |
static class |
CfnBucket.ReplicationDestinationProperty.Jsii$Proxy
An implementation for
CfnBucket.ReplicationDestinationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBucket.ReplicationDestinationProperty.Builder |
builder() |
default Object |
getAccessControlTranslation()
`CfnBucket.ReplicationDestinationProperty.AccessControlTranslation`.
|
default String |
getAccount()
`CfnBucket.ReplicationDestinationProperty.Account`.
|
String |
getBucket()
`CfnBucket.ReplicationDestinationProperty.Bucket`.
|
default Object |
getEncryptionConfiguration()
`CfnBucket.ReplicationDestinationProperty.EncryptionConfiguration`.
|
default Object |
getMetrics()
`CfnBucket.ReplicationDestinationProperty.Metrics`.
|
default Object |
getReplicationTime()
`CfnBucket.ReplicationDestinationProperty.ReplicationTime`.
|
default String |
getStorageClass()
`CfnBucket.ReplicationDestinationProperty.StorageClass`.
|
@Stability(value=Stable) @Nullable default Object getAccessControlTranslation()
@Stability(value=Stable) @Nullable default String getAccount()
@Stability(value=Stable) @NotNull String getBucket()
@Stability(value=Stable) @Nullable default Object getEncryptionConfiguration()
@Stability(value=Stable) @Nullable default Object getMetrics()
@Stability(value=Stable) @Nullable default Object getReplicationTime()
@Stability(value=Stable) @Nullable default String getStorageClass()
@Stability(value=Stable) static CfnBucket.ReplicationDestinationProperty.Builder builder()
Copyright © 2021. All rights reserved.