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

com.pulumi.azure.siterecovery.outputs.GetReplicationRecoveryPlanRecoveryGroup Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.15.0
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.azure.siterecovery.outputs;

import com.pulumi.azure.siterecovery.outputs.GetReplicationRecoveryPlanRecoveryGroupPostAction;
import com.pulumi.azure.siterecovery.outputs.GetReplicationRecoveryPlanRecoveryGroupPreAction;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetReplicationRecoveryPlanRecoveryGroup {
    /**
     * @return one or more `action` block. which will be executed after the group recovery.
     * 
     */
    private List> postActions;
    /**
     * @return one or more `action` block. which will be executed before the group recovery.
     * 
     */
    private List> preActions;
    /**
     * @return one or more id of protected VM.
     * 
     */
    private List replicatedProtectedItems;
    /**
     * @return Type of the action detail.
     * 
     */
    private String type;

    private GetReplicationRecoveryPlanRecoveryGroup() {}
    /**
     * @return one or more `action` block. which will be executed after the group recovery.
     * 
     */
    public List> postActions() {
        return this.postActions;
    }
    /**
     * @return one or more `action` block. which will be executed before the group recovery.
     * 
     */
    public List> preActions() {
        return this.preActions;
    }
    /**
     * @return one or more id of protected VM.
     * 
     */
    public List replicatedProtectedItems() {
        return this.replicatedProtectedItems;
    }
    /**
     * @return Type of the action detail.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetReplicationRecoveryPlanRecoveryGroup defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List> postActions;
        private List> preActions;
        private List replicatedProtectedItems;
        private String type;
        public Builder() {}
        public Builder(GetReplicationRecoveryPlanRecoveryGroup defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.postActions = defaults.postActions;
    	      this.preActions = defaults.preActions;
    	      this.replicatedProtectedItems = defaults.replicatedProtectedItems;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder postActions(List> postActions) {
            if (postActions == null) {
              throw new MissingRequiredPropertyException("GetReplicationRecoveryPlanRecoveryGroup", "postActions");
            }
            this.postActions = postActions;
            return this;
        }
        @CustomType.Setter
        public Builder preActions(List> preActions) {
            if (preActions == null) {
              throw new MissingRequiredPropertyException("GetReplicationRecoveryPlanRecoveryGroup", "preActions");
            }
            this.preActions = preActions;
            return this;
        }
        @CustomType.Setter
        public Builder replicatedProtectedItems(List replicatedProtectedItems) {
            if (replicatedProtectedItems == null) {
              throw new MissingRequiredPropertyException("GetReplicationRecoveryPlanRecoveryGroup", "replicatedProtectedItems");
            }
            this.replicatedProtectedItems = replicatedProtectedItems;
            return this;
        }
        public Builder replicatedProtectedItems(String... replicatedProtectedItems) {
            return replicatedProtectedItems(List.of(replicatedProtectedItems));
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetReplicationRecoveryPlanRecoveryGroup", "type");
            }
            this.type = type;
            return this;
        }
        public GetReplicationRecoveryPlanRecoveryGroup build() {
            final var _resultValue = new GetReplicationRecoveryPlanRecoveryGroup();
            _resultValue.postActions = postActions;
            _resultValue.preActions = preActions;
            _resultValue.replicatedProtectedItems = replicatedProtectedItems;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy