// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.ecr.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


public final class ReplicationConfigurationReplicationConfigurationRuleDestinationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ReplicationConfigurationReplicationConfigurationRuleDestinationArgs Empty = new ReplicationConfigurationReplicationConfigurationRuleDestinationArgs();

    /**
     * A Region to replicate to.
     * 
     */
    @Import(name="region", required=true)
    private Output<String> region;

    /**
     * @return A Region to replicate to.
     * 
     */
    public Output<String> region() {
        return this.region;
    }

    /**
     * The account ID of the destination registry to replicate to.
     * 
     */
    @Import(name="registryId", required=true)
    private Output<String> registryId;

    /**
     * @return The account ID of the destination registry to replicate to.
     * 
     */
    public Output<String> registryId() {
        return this.registryId;
    }

    private ReplicationConfigurationReplicationConfigurationRuleDestinationArgs() {}

    private ReplicationConfigurationReplicationConfigurationRuleDestinationArgs(ReplicationConfigurationReplicationConfigurationRuleDestinationArgs $) {
        this.region = $.region;
        this.registryId = $.registryId;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ReplicationConfigurationReplicationConfigurationRuleDestinationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ReplicationConfigurationReplicationConfigurationRuleDestinationArgs $;

        public Builder() {
            $ = new ReplicationConfigurationReplicationConfigurationRuleDestinationArgs();
        }

        public Builder(ReplicationConfigurationReplicationConfigurationRuleDestinationArgs defaults) {
            $ = new ReplicationConfigurationReplicationConfigurationRuleDestinationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param region A Region to replicate to.
         * 
         * @return builder
         * 
         */
        public Builder region(Output<String> region) {
            $.region = region;
            return this;
        }

        /**
         * @param region A Region to replicate to.
         * 
         * @return builder
         * 
         */
        public Builder region(String region) {
            return region(Output.of(region));
        }

        /**
         * @param registryId The account ID of the destination registry to replicate to.
         * 
         * @return builder
         * 
         */
        public Builder registryId(Output<String> registryId) {
            $.registryId = registryId;
            return this;
        }

        /**
         * @param registryId The account ID of the destination registry to replicate to.
         * 
         * @return builder
         * 
         */
        public Builder registryId(String registryId) {
            return registryId(Output.of(registryId));
        }

        public ReplicationConfigurationReplicationConfigurationRuleDestinationArgs build() {
            $.region = Objects.requireNonNull($.region, "expected parameter 'region' to be non-null");
            $.registryId = Objects.requireNonNull($.registryId, "expected parameter 'registryId' to be non-null");
            return $;
        }
    }

}
