Class CfnGlobalReplicationGroup.RegionalConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticache.CfnGlobalReplicationGroup.RegionalConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalReplicationGroup.RegionalConfigurationProperty>
- Enclosing interface:
CfnGlobalReplicationGroup.RegionalConfigurationProperty
@Stability(Stable)
public static final class CfnGlobalReplicationGroup.RegionalConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGlobalReplicationGroup.RegionalConfigurationProperty>
A builder for
CfnGlobalReplicationGroup.RegionalConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.replicationGroupId
(String replicationGroupId) replicationGroupRegion
(String replicationGroupRegion) reshardingConfigurations
(List<? extends Object> reshardingConfigurations) reshardingConfigurations
(IResolvable reshardingConfigurations)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
replicationGroupId
@Stability(Stable) public CfnGlobalReplicationGroup.RegionalConfigurationProperty.Builder replicationGroupId(String replicationGroupId) - Parameters:
replicationGroupId
- The name of the secondary cluster.- Returns:
this
-
replicationGroupRegion
@Stability(Stable) public CfnGlobalReplicationGroup.RegionalConfigurationProperty.Builder replicationGroupRegion(String replicationGroupRegion) Sets the value ofCfnGlobalReplicationGroup.RegionalConfigurationProperty.getReplicationGroupRegion()
- Parameters:
replicationGroupRegion
- The Amazon region where the cluster is stored.- Returns:
this
-
reshardingConfigurations
@Stability(Stable) public CfnGlobalReplicationGroup.RegionalConfigurationProperty.Builder reshardingConfigurations(IResolvable reshardingConfigurations) Sets the value ofCfnGlobalReplicationGroup.RegionalConfigurationProperty.getReshardingConfigurations()
- Parameters:
reshardingConfigurations
- A list of PreferredAvailabilityZones objects that specifies the configuration of a node group in the resharded cluster.- Returns:
this
-
reshardingConfigurations
@Stability(Stable) public CfnGlobalReplicationGroup.RegionalConfigurationProperty.Builder reshardingConfigurations(List<? extends Object> reshardingConfigurations) Sets the value ofCfnGlobalReplicationGroup.RegionalConfigurationProperty.getReshardingConfigurations()
- Parameters:
reshardingConfigurations
- A list of PreferredAvailabilityZones objects that specifies the configuration of a node group in the resharded cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGlobalReplicationGroup.RegionalConfigurationProperty>
- Returns:
- a new instance of
CfnGlobalReplicationGroup.RegionalConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-