Class CfnReplicator.ReplicationStartingPositionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnReplicator.ReplicationStartingPositionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicator.ReplicationStartingPositionProperty>
- Enclosing interface:
CfnReplicator.ReplicationStartingPositionProperty
@Stability(Stable)
public static final class CfnReplicator.ReplicationStartingPositionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicator.ReplicationStartingPositionProperty>
A builder for
CfnReplicator.ReplicationStartingPositionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnReplicator.ReplicationStartingPositionProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnReplicator.ReplicationStartingPositionProperty.Builder type(String type) Sets the value ofCfnReplicator.ReplicationStartingPositionProperty.getType()
- Parameters:
type
- The type of replication starting position.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReplicator.ReplicationStartingPositionProperty>
- Returns:
- a new instance of
CfnReplicator.ReplicationStartingPositionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-