Class CfnEndpoint.ReplicationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnEndpoint.ReplicationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpoint.ReplicationConfigProperty>
- Enclosing interface:
CfnEndpoint.ReplicationConfigProperty
@Stability(Stable)
public static final class CfnEndpoint.ReplicationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpoint.ReplicationConfigProperty>
A builder for
CfnEndpoint.ReplicationConfigProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnEndpoint.ReplicationConfigProperty.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
state
Sets the value ofCfnEndpoint.ReplicationConfigProperty.getState()
- Parameters:
state
- The state of event replication. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEndpoint.ReplicationConfigProperty>
- Returns:
- a new instance of
CfnEndpoint.ReplicationConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-