Class CfnReplicationSet.ReplicationRegionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssmincidents.CfnReplicationSet.ReplicationRegionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicationSet.ReplicationRegionProperty>
- Enclosing interface:
CfnReplicationSet.ReplicationRegionProperty
@Stability(Stable)
public static final class CfnReplicationSet.ReplicationRegionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicationSet.ReplicationRegionProperty>
A builder for
CfnReplicationSet.ReplicationRegionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.regionConfiguration
(IResolvable regionConfiguration) Sets the value ofCfnReplicationSet.ReplicationRegionProperty.getRegionConfiguration()
regionConfiguration
(CfnReplicationSet.RegionConfigurationProperty regionConfiguration) Sets the value ofCfnReplicationSet.ReplicationRegionProperty.getRegionConfiguration()
regionName
(String regionName) Sets the value ofCfnReplicationSet.ReplicationRegionProperty.getRegionName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
regionConfiguration
@Stability(Stable) public CfnReplicationSet.ReplicationRegionProperty.Builder regionConfiguration(IResolvable regionConfiguration) Sets the value ofCfnReplicationSet.ReplicationRegionProperty.getRegionConfiguration()
- Parameters:
regionConfiguration
- Specifies the Region configuration.- Returns:
this
-
regionConfiguration
@Stability(Stable) public CfnReplicationSet.ReplicationRegionProperty.Builder regionConfiguration(CfnReplicationSet.RegionConfigurationProperty regionConfiguration) Sets the value ofCfnReplicationSet.ReplicationRegionProperty.getRegionConfiguration()
- Parameters:
regionConfiguration
- Specifies the Region configuration.- Returns:
this
-
regionName
@Stability(Stable) public CfnReplicationSet.ReplicationRegionProperty.Builder regionName(String regionName) Sets the value ofCfnReplicationSet.ReplicationRegionProperty.getRegionName()
- Parameters:
regionName
- Specifies the region name to add to the replication set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReplicationSet.ReplicationRegionProperty>
- Returns:
- a new instance of
CfnReplicationSet.ReplicationRegionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-