@Stability(value=Stable) public static final class CfnEndpoint.FailoverConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEndpoint.FailoverConfigProperty>
CfnEndpoint.FailoverConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnEndpoint.FailoverConfigProperty |
build()
Builds the configured instance.
|
CfnEndpoint.FailoverConfigProperty.Builder |
primary(CfnEndpoint.PrimaryProperty primary)
Sets the value of
CfnEndpoint.FailoverConfigProperty.getPrimary() |
CfnEndpoint.FailoverConfigProperty.Builder |
primary(IResolvable primary)
Sets the value of
CfnEndpoint.FailoverConfigProperty.getPrimary() |
CfnEndpoint.FailoverConfigProperty.Builder |
secondary(CfnEndpoint.SecondaryProperty secondary)
Sets the value of
CfnEndpoint.FailoverConfigProperty.getSecondary() |
CfnEndpoint.FailoverConfigProperty.Builder |
secondary(IResolvable secondary)
Sets the value of
CfnEndpoint.FailoverConfigProperty.getSecondary() |
@Stability(value=Stable) public CfnEndpoint.FailoverConfigProperty.Builder primary(CfnEndpoint.PrimaryProperty primary)
CfnEndpoint.FailoverConfigProperty.getPrimary()primary - The main Region of the endpoint. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.FailoverConfigProperty.Builder primary(IResolvable primary)
CfnEndpoint.FailoverConfigProperty.getPrimary()primary - The main Region of the endpoint. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.FailoverConfigProperty.Builder secondary(CfnEndpoint.SecondaryProperty secondary)
CfnEndpoint.FailoverConfigProperty.getSecondary()secondary - The Region that events are routed to when failover is triggered or event replication is enabled. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.FailoverConfigProperty.Builder secondary(IResolvable secondary)
CfnEndpoint.FailoverConfigProperty.getSecondary()secondary - The Region that events are routed to when failover is triggered or event replication is enabled. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.FailoverConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnEndpoint.FailoverConfigProperty>CfnEndpoint.FailoverConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.