primary
Sets the value of
CfnEndpoint.FailoverConfigProperty.getPrimary()
- Parameters:
primary
- The main Region of the endpoint. This parameter is required.- Returns:
this
software.amazon.jsii.Builder<CfnEndpoint.FailoverConfigProperty>
CfnEndpoint.FailoverConfigProperty
CfnEndpoint.FailoverConfigProperty
build()
primary(IResolvable primary)
CfnEndpoint.FailoverConfigProperty.getPrimary()
primary(CfnEndpoint.PrimaryProperty primary)
CfnEndpoint.FailoverConfigProperty.getPrimary()
secondary(IResolvable secondary)
CfnEndpoint.FailoverConfigProperty.getSecondary()
secondary(CfnEndpoint.SecondaryProperty secondary)
CfnEndpoint.FailoverConfigProperty.getSecondary()
CfnEndpoint.FailoverConfigProperty.getPrimary()
primary
- The main Region of the endpoint. This parameter is required.this
CfnEndpoint.FailoverConfigProperty.getPrimary()
primary
- The main Region of the endpoint. This parameter is required.this
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
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
build
in interface software.amazon.jsii.Builder<CfnEndpoint.FailoverConfigProperty>
CfnEndpoint.FailoverConfigProperty
NullPointerException
- if any required attribute was not provided