Class CfnCanaryPropsMixin.ReplicaReplicationStatusProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.synthetics.CfnCanaryPropsMixin.ReplicaReplicationStatusProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCanaryPropsMixin.ReplicaReplicationStatusProperty>
- Enclosing interface:
CfnCanaryPropsMixin.ReplicaReplicationStatusProperty
@Stability(Stable)
public static final class CfnCanaryPropsMixin.ReplicaReplicationStatusProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCanaryPropsMixin.ReplicaReplicationStatusProperty>
A builder for
CfnCanaryPropsMixin.ReplicaReplicationStatusProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCanaryPropsMixin.ReplicaReplicationStatusProperty.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
state
@Stability(Stable) public CfnCanaryPropsMixin.ReplicaReplicationStatusProperty.Builder state(String state) Sets the value ofCfnCanaryPropsMixin.ReplicaReplicationStatusProperty.getState()- Parameters:
state- Replication state: InProgress, InSync, or Inconsistent.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCanaryPropsMixin.ReplicaReplicationStatusProperty>- Returns:
- a new instance of
CfnCanaryPropsMixin.ReplicaReplicationStatusProperty - Throws:
NullPointerException- if any required attribute was not provided
-