
com.pulumi.azurenative.storsimple.inputs.GetBackupPolicyPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.storsimple.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetBackupPolicyPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetBackupPolicyPlainArgs Empty = new GetBackupPolicyPlainArgs();
/**
* The name of backup policy to be fetched.
*
*/
@Import(name="backupPolicyName", required=true)
private String backupPolicyName;
/**
* @return The name of backup policy to be fetched.
*
*/
public String backupPolicyName() {
return this.backupPolicyName;
}
/**
* The device name
*
*/
@Import(name="deviceName", required=true)
private String deviceName;
/**
* @return The device name
*
*/
public String deviceName() {
return this.deviceName;
}
/**
* The manager name
*
*/
@Import(name="managerName", required=true)
private String managerName;
/**
* @return The manager name
*
*/
public String managerName() {
return this.managerName;
}
/**
* The resource group name
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The resource group name
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
private GetBackupPolicyPlainArgs() {}
private GetBackupPolicyPlainArgs(GetBackupPolicyPlainArgs $) {
this.backupPolicyName = $.backupPolicyName;
this.deviceName = $.deviceName;
this.managerName = $.managerName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetBackupPolicyPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetBackupPolicyPlainArgs $;
public Builder() {
$ = new GetBackupPolicyPlainArgs();
}
public Builder(GetBackupPolicyPlainArgs defaults) {
$ = new GetBackupPolicyPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param backupPolicyName The name of backup policy to be fetched.
*
* @return builder
*
*/
public Builder backupPolicyName(String backupPolicyName) {
$.backupPolicyName = backupPolicyName;
return this;
}
/**
* @param deviceName The device name
*
* @return builder
*
*/
public Builder deviceName(String deviceName) {
$.deviceName = deviceName;
return this;
}
/**
* @param managerName The manager name
*
* @return builder
*
*/
public Builder managerName(String managerName) {
$.managerName = managerName;
return this;
}
/**
* @param resourceGroupName The resource group name
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
public GetBackupPolicyPlainArgs build() {
if ($.backupPolicyName == null) {
throw new MissingRequiredPropertyException("GetBackupPolicyPlainArgs", "backupPolicyName");
}
if ($.deviceName == null) {
throw new MissingRequiredPropertyException("GetBackupPolicyPlainArgs", "deviceName");
}
if ($.managerName == null) {
throw new MissingRequiredPropertyException("GetBackupPolicyPlainArgs", "managerName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetBackupPolicyPlainArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy