Class CfnReplicationConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.ecr.CfnReplicationConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicationConfiguration>
- Enclosing class:
CfnReplicationConfiguration
@Stability(Stable)
public static final class CfnReplicationConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicationConfiguration>
A fluent builder for
CfnReplicationConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
replicationConfiguration
(IResolvable replicationConfiguration) The replication configuration for a registry.replicationConfiguration
(CfnReplicationConfiguration.ReplicationConfigurationProperty replicationConfiguration) The replication configuration for a registry.
-
Method Details
-
create
@Stability(Stable) public static CfnReplicationConfiguration.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnReplicationConfiguration.Builder
.
-
replicationConfiguration
@Stability(Stable) public CfnReplicationConfiguration.Builder replicationConfiguration(IResolvable replicationConfiguration) The replication configuration for a registry.- Parameters:
replicationConfiguration
- The replication configuration for a registry. This parameter is required.- Returns:
this
-
replicationConfiguration
@Stability(Stable) public CfnReplicationConfiguration.Builder replicationConfiguration(CfnReplicationConfiguration.ReplicationConfigurationProperty replicationConfiguration) The replication configuration for a registry.- Parameters:
replicationConfiguration
- The replication configuration for a registry. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReplicationConfiguration>
- Returns:
- a newly built instance of
CfnReplicationConfiguration
.
-