
com.pulumi.azurenative.recoveryservices.inputs.GetReplicationPolicyPlainArgs 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.azurenative.recoveryservices.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetReplicationPolicyPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetReplicationPolicyPlainArgs Empty = new GetReplicationPolicyPlainArgs();
/**
* Replication policy name.
*
*/
@Import(name="policyName", required=true)
private String policyName;
/**
* @return Replication policy name.
*
*/
public String policyName() {
return this.policyName;
}
/**
* The name of the resource group where the recovery services vault is present.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The name of the resource group where the recovery services vault is present.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the recovery services vault.
*
*/
@Import(name="resourceName", required=true)
private String resourceName;
/**
* @return The name of the recovery services vault.
*
*/
public String resourceName() {
return this.resourceName;
}
private GetReplicationPolicyPlainArgs() {}
private GetReplicationPolicyPlainArgs(GetReplicationPolicyPlainArgs $) {
this.policyName = $.policyName;
this.resourceGroupName = $.resourceGroupName;
this.resourceName = $.resourceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetReplicationPolicyPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetReplicationPolicyPlainArgs $;
public Builder() {
$ = new GetReplicationPolicyPlainArgs();
}
public Builder(GetReplicationPolicyPlainArgs defaults) {
$ = new GetReplicationPolicyPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param policyName Replication policy name.
*
* @return builder
*
*/
public Builder policyName(String policyName) {
$.policyName = policyName;
return this;
}
/**
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceName The name of the recovery services vault.
*
* @return builder
*
*/
public Builder resourceName(String resourceName) {
$.resourceName = resourceName;
return this;
}
public GetReplicationPolicyPlainArgs build() {
if ($.policyName == null) {
throw new MissingRequiredPropertyException("GetReplicationPolicyPlainArgs", "policyName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetReplicationPolicyPlainArgs", "resourceGroupName");
}
if ($.resourceName == null) {
throw new MissingRequiredPropertyException("GetReplicationPolicyPlainArgs", "resourceName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy