All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.efs.ReplicationConfigurationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** 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.efs;

import com.pulumi.aws.efs.inputs.ReplicationConfigurationDestinationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final ReplicationConfigurationArgs Empty = new ReplicationConfigurationArgs();

    /**
     * A destination configuration block (documented below).
     * 
     */
    @Import(name="destination", required=true)
    private Output destination;

    /**
     * @return A destination configuration block (documented below).
     * 
     */
    public Output destination() {
        return this.destination;
    }

    /**
     * The ID of the file system that is to be replicated.
     * 
     */
    @Import(name="sourceFileSystemId", required=true)
    private Output sourceFileSystemId;

    /**
     * @return The ID of the file system that is to be replicated.
     * 
     */
    public Output sourceFileSystemId() {
        return this.sourceFileSystemId;
    }

    private ReplicationConfigurationArgs() {}

    private ReplicationConfigurationArgs(ReplicationConfigurationArgs $) {
        this.destination = $.destination;
        this.sourceFileSystemId = $.sourceFileSystemId;
    }

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

    public static final class Builder {
        private ReplicationConfigurationArgs $;

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

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

        /**
         * @param destination A destination configuration block (documented below).
         * 
         * @return builder
         * 
         */
        public Builder destination(Output destination) {
            $.destination = destination;
            return this;
        }

        /**
         * @param destination A destination configuration block (documented below).
         * 
         * @return builder
         * 
         */
        public Builder destination(ReplicationConfigurationDestinationArgs destination) {
            return destination(Output.of(destination));
        }

        /**
         * @param sourceFileSystemId The ID of the file system that is to be replicated.
         * 
         * @return builder
         * 
         */
        public Builder sourceFileSystemId(Output sourceFileSystemId) {
            $.sourceFileSystemId = sourceFileSystemId;
            return this;
        }

        /**
         * @param sourceFileSystemId The ID of the file system that is to be replicated.
         * 
         * @return builder
         * 
         */
        public Builder sourceFileSystemId(String sourceFileSystemId) {
            return sourceFileSystemId(Output.of(sourceFileSystemId));
        }

        public ReplicationConfigurationArgs build() {
            if ($.destination == null) {
                throw new MissingRequiredPropertyException("ReplicationConfigurationArgs", "destination");
            }
            if ($.sourceFileSystemId == null) {
                throw new MissingRequiredPropertyException("ReplicationConfigurationArgs", "sourceFileSystemId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy