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

com.pulumi.aws.drs.inputs.ReplicationConfigurationTemplateState Maven / Gradle / Ivy

// *** 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.drs.inputs;

import com.pulumi.aws.drs.inputs.ReplicationConfigurationTemplatePitPolicyArgs;
import com.pulumi.aws.drs.inputs.ReplicationConfigurationTemplateTimeoutsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ReplicationConfigurationTemplateState Empty = new ReplicationConfigurationTemplateState();

    /**
     * Replication configuration template ARN.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return Replication configuration template ARN.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
     * 
     */
    @Import(name="associateDefaultSecurityGroup")
    private @Nullable Output associateDefaultSecurityGroup;

    /**
     * @return Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
     * 
     */
    public Optional> associateDefaultSecurityGroup() {
        return Optional.ofNullable(this.associateDefaultSecurityGroup);
    }

    /**
     * Whether to allow the AWS replication agent to automatically replicate newly added disks.
     * 
     */
    @Import(name="autoReplicateNewDisks")
    private @Nullable Output autoReplicateNewDisks;

    /**
     * @return Whether to allow the AWS replication agent to automatically replicate newly added disks.
     * 
     */
    public Optional> autoReplicateNewDisks() {
        return Optional.ofNullable(this.autoReplicateNewDisks);
    }

    /**
     * Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
     * 
     */
    @Import(name="bandwidthThrottling")
    private @Nullable Output bandwidthThrottling;

    /**
     * @return Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
     * 
     */
    public Optional> bandwidthThrottling() {
        return Optional.ofNullable(this.bandwidthThrottling);
    }

    /**
     * Whether to create a Public IP for the Recovery Instance by default.
     * 
     */
    @Import(name="createPublicIp")
    private @Nullable Output createPublicIp;

    /**
     * @return Whether to create a Public IP for the Recovery Instance by default.
     * 
     */
    public Optional> createPublicIp() {
        return Optional.ofNullable(this.createPublicIp);
    }

    /**
     * Data plane routing mechanism that will be used for replication. Valid values are `PUBLIC_IP` and `PRIVATE_IP`.
     * 
     */
    @Import(name="dataPlaneRouting")
    private @Nullable Output dataPlaneRouting;

    /**
     * @return Data plane routing mechanism that will be used for replication. Valid values are `PUBLIC_IP` and `PRIVATE_IP`.
     * 
     */
    public Optional> dataPlaneRouting() {
        return Optional.ofNullable(this.dataPlaneRouting);
    }

    /**
     * Staging Disk EBS volume type to be used during replication. Valid values are `GP2`, `GP3`, `ST1`, or `AUTO`.
     * 
     */
    @Import(name="defaultLargeStagingDiskType")
    private @Nullable Output defaultLargeStagingDiskType;

    /**
     * @return Staging Disk EBS volume type to be used during replication. Valid values are `GP2`, `GP3`, `ST1`, or `AUTO`.
     * 
     */
    public Optional> defaultLargeStagingDiskType() {
        return Optional.ofNullable(this.defaultLargeStagingDiskType);
    }

    /**
     * Type of EBS encryption to be used during replication. Valid values are `DEFAULT` and `CUSTOM`.
     * 
     */
    @Import(name="ebsEncryption")
    private @Nullable Output ebsEncryption;

    /**
     * @return Type of EBS encryption to be used during replication. Valid values are `DEFAULT` and `CUSTOM`.
     * 
     */
    public Optional> ebsEncryption() {
        return Optional.ofNullable(this.ebsEncryption);
    }

    /**
     * ARN of the EBS encryption key to be used during replication.
     * 
     */
    @Import(name="ebsEncryptionKeyArn")
    private @Nullable Output ebsEncryptionKeyArn;

    /**
     * @return ARN of the EBS encryption key to be used during replication.
     * 
     */
    public Optional> ebsEncryptionKeyArn() {
        return Optional.ofNullable(this.ebsEncryptionKeyArn);
    }

    /**
     * Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
     * 
     */
    @Import(name="pitPolicies")
    private @Nullable Output> pitPolicies;

    /**
     * @return Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
     * 
     */
    public Optional>> pitPolicies() {
        return Optional.ofNullable(this.pitPolicies);
    }

    /**
     * Instance type to be used for the replication server.
     * 
     */
    @Import(name="replicationServerInstanceType")
    private @Nullable Output replicationServerInstanceType;

    /**
     * @return Instance type to be used for the replication server.
     * 
     */
    public Optional> replicationServerInstanceType() {
        return Optional.ofNullable(this.replicationServerInstanceType);
    }

    /**
     * Security group IDs that will be used by the replication server.
     * 
     */
    @Import(name="replicationServersSecurityGroupsIds")
    private @Nullable Output> replicationServersSecurityGroupsIds;

    /**
     * @return Security group IDs that will be used by the replication server.
     * 
     */
    public Optional>> replicationServersSecurityGroupsIds() {
        return Optional.ofNullable(this.replicationServersSecurityGroupsIds);
    }

    /**
     * Subnet to be used by the replication staging area.
     * 
     */
    @Import(name="stagingAreaSubnetId")
    private @Nullable Output stagingAreaSubnetId;

    /**
     * @return Subnet to be used by the replication staging area.
     * 
     */
    public Optional> stagingAreaSubnetId() {
        return Optional.ofNullable(this.stagingAreaSubnetId);
    }

    /**
     * Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
     * 
     */
    @Import(name="stagingAreaTags")
    private @Nullable Output> stagingAreaTags;

    /**
     * @return Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
     * 
     */
    public Optional>> stagingAreaTags() {
        return Optional.ofNullable(this.stagingAreaTags);
    }

    /**
     * Set of tags to be associated with the Replication Configuration Template resource.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Set of tags to be associated with the Replication Configuration Template resource.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    @Import(name="timeouts")
    private @Nullable Output timeouts;

    public Optional> timeouts() {
        return Optional.ofNullable(this.timeouts);
    }

    /**
     * Whether to use a dedicated Replication Server in the replication staging area.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="useDedicatedReplicationServer")
    private @Nullable Output useDedicatedReplicationServer;

    /**
     * @return Whether to use a dedicated Replication Server in the replication staging area.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> useDedicatedReplicationServer() {
        return Optional.ofNullable(this.useDedicatedReplicationServer);
    }

    private ReplicationConfigurationTemplateState() {}

    private ReplicationConfigurationTemplateState(ReplicationConfigurationTemplateState $) {
        this.arn = $.arn;
        this.associateDefaultSecurityGroup = $.associateDefaultSecurityGroup;
        this.autoReplicateNewDisks = $.autoReplicateNewDisks;
        this.bandwidthThrottling = $.bandwidthThrottling;
        this.createPublicIp = $.createPublicIp;
        this.dataPlaneRouting = $.dataPlaneRouting;
        this.defaultLargeStagingDiskType = $.defaultLargeStagingDiskType;
        this.ebsEncryption = $.ebsEncryption;
        this.ebsEncryptionKeyArn = $.ebsEncryptionKeyArn;
        this.pitPolicies = $.pitPolicies;
        this.replicationServerInstanceType = $.replicationServerInstanceType;
        this.replicationServersSecurityGroupsIds = $.replicationServersSecurityGroupsIds;
        this.stagingAreaSubnetId = $.stagingAreaSubnetId;
        this.stagingAreaTags = $.stagingAreaTags;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.timeouts = $.timeouts;
        this.useDedicatedReplicationServer = $.useDedicatedReplicationServer;
    }

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

    public static final class Builder {
        private ReplicationConfigurationTemplateState $;

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

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

        /**
         * @param arn Replication configuration template ARN.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn Replication configuration template ARN.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param associateDefaultSecurityGroup Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
         * 
         * @return builder
         * 
         */
        public Builder associateDefaultSecurityGroup(@Nullable Output associateDefaultSecurityGroup) {
            $.associateDefaultSecurityGroup = associateDefaultSecurityGroup;
            return this;
        }

        /**
         * @param associateDefaultSecurityGroup Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
         * 
         * @return builder
         * 
         */
        public Builder associateDefaultSecurityGroup(Boolean associateDefaultSecurityGroup) {
            return associateDefaultSecurityGroup(Output.of(associateDefaultSecurityGroup));
        }

        /**
         * @param autoReplicateNewDisks Whether to allow the AWS replication agent to automatically replicate newly added disks.
         * 
         * @return builder
         * 
         */
        public Builder autoReplicateNewDisks(@Nullable Output autoReplicateNewDisks) {
            $.autoReplicateNewDisks = autoReplicateNewDisks;
            return this;
        }

        /**
         * @param autoReplicateNewDisks Whether to allow the AWS replication agent to automatically replicate newly added disks.
         * 
         * @return builder
         * 
         */
        public Builder autoReplicateNewDisks(Boolean autoReplicateNewDisks) {
            return autoReplicateNewDisks(Output.of(autoReplicateNewDisks));
        }

        /**
         * @param bandwidthThrottling Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
         * 
         * @return builder
         * 
         */
        public Builder bandwidthThrottling(@Nullable Output bandwidthThrottling) {
            $.bandwidthThrottling = bandwidthThrottling;
            return this;
        }

        /**
         * @param bandwidthThrottling Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
         * 
         * @return builder
         * 
         */
        public Builder bandwidthThrottling(Integer bandwidthThrottling) {
            return bandwidthThrottling(Output.of(bandwidthThrottling));
        }

        /**
         * @param createPublicIp Whether to create a Public IP for the Recovery Instance by default.
         * 
         * @return builder
         * 
         */
        public Builder createPublicIp(@Nullable Output createPublicIp) {
            $.createPublicIp = createPublicIp;
            return this;
        }

        /**
         * @param createPublicIp Whether to create a Public IP for the Recovery Instance by default.
         * 
         * @return builder
         * 
         */
        public Builder createPublicIp(Boolean createPublicIp) {
            return createPublicIp(Output.of(createPublicIp));
        }

        /**
         * @param dataPlaneRouting Data plane routing mechanism that will be used for replication. Valid values are `PUBLIC_IP` and `PRIVATE_IP`.
         * 
         * @return builder
         * 
         */
        public Builder dataPlaneRouting(@Nullable Output dataPlaneRouting) {
            $.dataPlaneRouting = dataPlaneRouting;
            return this;
        }

        /**
         * @param dataPlaneRouting Data plane routing mechanism that will be used for replication. Valid values are `PUBLIC_IP` and `PRIVATE_IP`.
         * 
         * @return builder
         * 
         */
        public Builder dataPlaneRouting(String dataPlaneRouting) {
            return dataPlaneRouting(Output.of(dataPlaneRouting));
        }

        /**
         * @param defaultLargeStagingDiskType Staging Disk EBS volume type to be used during replication. Valid values are `GP2`, `GP3`, `ST1`, or `AUTO`.
         * 
         * @return builder
         * 
         */
        public Builder defaultLargeStagingDiskType(@Nullable Output defaultLargeStagingDiskType) {
            $.defaultLargeStagingDiskType = defaultLargeStagingDiskType;
            return this;
        }

        /**
         * @param defaultLargeStagingDiskType Staging Disk EBS volume type to be used during replication. Valid values are `GP2`, `GP3`, `ST1`, or `AUTO`.
         * 
         * @return builder
         * 
         */
        public Builder defaultLargeStagingDiskType(String defaultLargeStagingDiskType) {
            return defaultLargeStagingDiskType(Output.of(defaultLargeStagingDiskType));
        }

        /**
         * @param ebsEncryption Type of EBS encryption to be used during replication. Valid values are `DEFAULT` and `CUSTOM`.
         * 
         * @return builder
         * 
         */
        public Builder ebsEncryption(@Nullable Output ebsEncryption) {
            $.ebsEncryption = ebsEncryption;
            return this;
        }

        /**
         * @param ebsEncryption Type of EBS encryption to be used during replication. Valid values are `DEFAULT` and `CUSTOM`.
         * 
         * @return builder
         * 
         */
        public Builder ebsEncryption(String ebsEncryption) {
            return ebsEncryption(Output.of(ebsEncryption));
        }

        /**
         * @param ebsEncryptionKeyArn ARN of the EBS encryption key to be used during replication.
         * 
         * @return builder
         * 
         */
        public Builder ebsEncryptionKeyArn(@Nullable Output ebsEncryptionKeyArn) {
            $.ebsEncryptionKeyArn = ebsEncryptionKeyArn;
            return this;
        }

        /**
         * @param ebsEncryptionKeyArn ARN of the EBS encryption key to be used during replication.
         * 
         * @return builder
         * 
         */
        public Builder ebsEncryptionKeyArn(String ebsEncryptionKeyArn) {
            return ebsEncryptionKeyArn(Output.of(ebsEncryptionKeyArn));
        }

        /**
         * @param pitPolicies Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
         * 
         * @return builder
         * 
         */
        public Builder pitPolicies(@Nullable Output> pitPolicies) {
            $.pitPolicies = pitPolicies;
            return this;
        }

        /**
         * @param pitPolicies Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
         * 
         * @return builder
         * 
         */
        public Builder pitPolicies(List pitPolicies) {
            return pitPolicies(Output.of(pitPolicies));
        }

        /**
         * @param pitPolicies Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
         * 
         * @return builder
         * 
         */
        public Builder pitPolicies(ReplicationConfigurationTemplatePitPolicyArgs... pitPolicies) {
            return pitPolicies(List.of(pitPolicies));
        }

        /**
         * @param replicationServerInstanceType Instance type to be used for the replication server.
         * 
         * @return builder
         * 
         */
        public Builder replicationServerInstanceType(@Nullable Output replicationServerInstanceType) {
            $.replicationServerInstanceType = replicationServerInstanceType;
            return this;
        }

        /**
         * @param replicationServerInstanceType Instance type to be used for the replication server.
         * 
         * @return builder
         * 
         */
        public Builder replicationServerInstanceType(String replicationServerInstanceType) {
            return replicationServerInstanceType(Output.of(replicationServerInstanceType));
        }

        /**
         * @param replicationServersSecurityGroupsIds Security group IDs that will be used by the replication server.
         * 
         * @return builder
         * 
         */
        public Builder replicationServersSecurityGroupsIds(@Nullable Output> replicationServersSecurityGroupsIds) {
            $.replicationServersSecurityGroupsIds = replicationServersSecurityGroupsIds;
            return this;
        }

        /**
         * @param replicationServersSecurityGroupsIds Security group IDs that will be used by the replication server.
         * 
         * @return builder
         * 
         */
        public Builder replicationServersSecurityGroupsIds(List replicationServersSecurityGroupsIds) {
            return replicationServersSecurityGroupsIds(Output.of(replicationServersSecurityGroupsIds));
        }

        /**
         * @param replicationServersSecurityGroupsIds Security group IDs that will be used by the replication server.
         * 
         * @return builder
         * 
         */
        public Builder replicationServersSecurityGroupsIds(String... replicationServersSecurityGroupsIds) {
            return replicationServersSecurityGroupsIds(List.of(replicationServersSecurityGroupsIds));
        }

        /**
         * @param stagingAreaSubnetId Subnet to be used by the replication staging area.
         * 
         * @return builder
         * 
         */
        public Builder stagingAreaSubnetId(@Nullable Output stagingAreaSubnetId) {
            $.stagingAreaSubnetId = stagingAreaSubnetId;
            return this;
        }

        /**
         * @param stagingAreaSubnetId Subnet to be used by the replication staging area.
         * 
         * @return builder
         * 
         */
        public Builder stagingAreaSubnetId(String stagingAreaSubnetId) {
            return stagingAreaSubnetId(Output.of(stagingAreaSubnetId));
        }

        /**
         * @param stagingAreaTags Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
         * 
         * @return builder
         * 
         */
        public Builder stagingAreaTags(@Nullable Output> stagingAreaTags) {
            $.stagingAreaTags = stagingAreaTags;
            return this;
        }

        /**
         * @param stagingAreaTags Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
         * 
         * @return builder
         * 
         */
        public Builder stagingAreaTags(Map stagingAreaTags) {
            return stagingAreaTags(Output.of(stagingAreaTags));
        }

        /**
         * @param tags Set of tags to be associated with the Replication Configuration Template resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Set of tags to be associated with the Replication Configuration Template resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tagsAll Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        public Builder timeouts(@Nullable Output timeouts) {
            $.timeouts = timeouts;
            return this;
        }

        public Builder timeouts(ReplicationConfigurationTemplateTimeoutsArgs timeouts) {
            return timeouts(Output.of(timeouts));
        }

        /**
         * @param useDedicatedReplicationServer Whether to use a dedicated Replication Server in the replication staging area.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder useDedicatedReplicationServer(@Nullable Output useDedicatedReplicationServer) {
            $.useDedicatedReplicationServer = useDedicatedReplicationServer;
            return this;
        }

        /**
         * @param useDedicatedReplicationServer Whether to use a dedicated Replication Server in the replication staging area.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder useDedicatedReplicationServer(Boolean useDedicatedReplicationServer) {
            return useDedicatedReplicationServer(Output.of(useDedicatedReplicationServer));
        }

        public ReplicationConfigurationTemplateState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy