io.burkard.cdk.services.elasticache.cfnGlobalReplicationGroup.RegionalConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.elasticache.cfnGlobalReplicationGroup
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object RegionalConfigurationProperty {
def apply(
replicationGroupId: Option[String] = None,
replicationGroupRegion: Option[String] = None,
reshardingConfigurations: Option[List[_]] = None
): software.amazon.awscdk.services.elasticache.CfnGlobalReplicationGroup.RegionalConfigurationProperty =
(new software.amazon.awscdk.services.elasticache.CfnGlobalReplicationGroup.RegionalConfigurationProperty.Builder)
.replicationGroupId(replicationGroupId.orNull)
.replicationGroupRegion(replicationGroupRegion.orNull)
.reshardingConfigurations(reshardingConfigurations.map(_.asJava).orNull)
.build()
}