public static class CreateReplicationPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateReplicationPolicyDetails |
build() |
CreateReplicationPolicyDetails.Builder |
copy(CreateReplicationPolicyDetails model) |
CreateReplicationPolicyDetails.Builder |
destinationBucketName(String destinationBucketName)
The bucket to replicate to in the destination region.
|
CreateReplicationPolicyDetails.Builder |
destinationRegionName(String destinationRegionName)
The destination region to replicate to, for example “us-ashburn-1”.
|
CreateReplicationPolicyDetails.Builder |
name(String name)
The name of the policy.
|
public CreateReplicationPolicyDetails.Builder name(String name)
The name of the policy. Avoid entering confidential information.
name
- the value to setpublic CreateReplicationPolicyDetails.Builder destinationRegionName(String destinationRegionName)
The destination region to replicate to, for example “us-ashburn-1”.
destinationRegionName
- the value to setpublic CreateReplicationPolicyDetails.Builder destinationBucketName(String destinationBucketName)
The bucket to replicate to in the destination region. Replication policy creation does not automatically create a destination bucket. Create the destination bucket before creating the policy.
destinationBucketName
- the value to setpublic CreateReplicationPolicyDetails build()
public CreateReplicationPolicyDetails.Builder copy(CreateReplicationPolicyDetails model)
Copyright © 2016–2024. All rights reserved.