public static final class CfnFlow.FailoverConfigProperty.Builder
extends java.lang.Object
CfnFlow.FailoverConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnFlow.FailoverConfigProperty |
build()
Builds the configured instance.
|
CfnFlow.FailoverConfigProperty.Builder |
recoveryWindow(java.lang.Number recoveryWindow)
Sets the value of
CfnFlow.FailoverConfigProperty.getRecoveryWindow() |
CfnFlow.FailoverConfigProperty.Builder |
state(java.lang.String state)
Sets the value of
CfnFlow.FailoverConfigProperty.getState() |
public CfnFlow.FailoverConfigProperty.Builder recoveryWindow(java.lang.Number recoveryWindow)
CfnFlow.FailoverConfigProperty.getRecoveryWindow()
recoveryWindow
- The size of the buffer (delay) that the service maintains.
A larger buffer means a longer delay in transmitting the stream, but more room for error correction. A smaller buffer means a shorter delay, but less room for error correction.this
public CfnFlow.FailoverConfigProperty.Builder state(java.lang.String state)
CfnFlow.FailoverConfigProperty.getState()
state
- The state of source failover on the flow.
If the state is disabled, the flow can have only one source. If the state is enabled, the flow can have one or two sources.this
public CfnFlow.FailoverConfigProperty build()
CfnFlow.FailoverConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided