@Stability(value=Stable)
public static interface CfnGlobalReplicationGroup.GlobalReplicationGroupMemberProperty
extends software.amazon.jsii.JsiiSerializable
It contains the Replication Group Id, the Amazon region and the role of the replication group.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticache.*;
GlobalReplicationGroupMemberProperty globalReplicationGroupMemberProperty = GlobalReplicationGroupMemberProperty.builder()
.replicationGroupId("replicationGroupId")
.replicationGroupRegion("replicationGroupRegion")
.role("role")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGlobalReplicationGroup.GlobalReplicationGroupMemberProperty.Builder
|
static class |
CfnGlobalReplicationGroup.GlobalReplicationGroupMemberProperty.Jsii$Proxy
An implementation for
CfnGlobalReplicationGroup.GlobalReplicationGroupMemberProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnGlobalReplicationGroup.GlobalReplicationGroupMemberProperty.Builder |
builder() |
default String |
getReplicationGroupId()
The replication group id of the Global datastore member.
|
default String |
getReplicationGroupRegion()
The Amazon region of the Global datastore member.
|
default String |
getRole()
Indicates the role of the replication group, `PRIMARY` or `SECONDARY` .
|
@Stability(value=Stable) @Nullable default String getReplicationGroupId()
@Stability(value=Stable) @Nullable default String getReplicationGroupRegion()
@Stability(value=Stable) @Nullable default String getRole()
@Stability(value=Stable) static CfnGlobalReplicationGroup.GlobalReplicationGroupMemberProperty.Builder builder()
Copyright © 2022. All rights reserved.