@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateReplicationPolicyDetails extends Object
The details to create a replication policy.
Note: Objects should always be created or deserialized using the CreateReplicationPolicyDetails.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the CreateReplicationPolicyDetails.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateReplicationPolicyDetails.Builder |
Constructor and Description |
---|
CreateReplicationPolicyDetails(String name,
String destinationRegionName,
String destinationBucketName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateReplicationPolicyDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getDestinationBucketName()
The bucket to replicate to in the destination region.
|
String |
getDestinationRegionName()
The destination region to replicate to, for example “us-ashburn-1”.
|
String |
getName()
The name of the policy.
|
int |
hashCode() |
CreateReplicationPolicyDetails.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"name","destinationRegionName","destinationBucketName"}) @Deprecated public CreateReplicationPolicyDetails(String name, String destinationRegionName, String destinationBucketName)
public static CreateReplicationPolicyDetails.Builder builder()
Create a new builder.
public CreateReplicationPolicyDetails.Builder toBuilder()
public String getName()
The name of the policy. Avoid entering confidential information.
public String getDestinationRegionName()
The destination region to replicate to, for example “us-ashburn-1”.
public String getDestinationBucketName()
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.
Copyright © 2016–2022. All rights reserved.