
com.pulumi.azurenative.storsimple.inputs.GetBackupScheduleArgs 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetBackupScheduleArgs extends com.pulumi.resources.InvokeArgs {
public static final GetBackupScheduleArgs Empty = new GetBackupScheduleArgs();
/**
* The backup policy name.
*
*/
@Import(name="backupPolicyName", required=true)
private Output backupPolicyName;
/**
* @return The backup policy name.
*
*/
public Output backupPolicyName() {
return this.backupPolicyName;
}
/**
* The name of the backup schedule to be fetched
*
*/
@Import(name="backupScheduleName", required=true)
private Output backupScheduleName;
/**
* @return The name of the backup schedule to be fetched
*
*/
public Output backupScheduleName() {
return this.backupScheduleName;
}
/**
* The device name
*
*/
@Import(name="deviceName", required=true)
private Output deviceName;
/**
* @return The device name
*
*/
public Output deviceName() {
return this.deviceName;
}
/**
* The manager name
*
*/
@Import(name="managerName", required=true)
private Output managerName;
/**
* @return The manager name
*
*/
public Output managerName() {
return this.managerName;
}
/**
* The resource group name
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The resource group name
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
private GetBackupScheduleArgs() {}
private GetBackupScheduleArgs(GetBackupScheduleArgs $) {
this.backupPolicyName = $.backupPolicyName;
this.backupScheduleName = $.backupScheduleName;
this.deviceName = $.deviceName;
this.managerName = $.managerName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetBackupScheduleArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetBackupScheduleArgs $;
public Builder() {
$ = new GetBackupScheduleArgs();
}
public Builder(GetBackupScheduleArgs defaults) {
$ = new GetBackupScheduleArgs(Objects.requireNonNull(defaults));
}
/**
* @param backupPolicyName The backup policy name.
*
* @return builder
*
*/
public Builder backupPolicyName(Output backupPolicyName) {
$.backupPolicyName = backupPolicyName;
return this;
}
/**
* @param backupPolicyName The backup policy name.
*
* @return builder
*
*/
public Builder backupPolicyName(String backupPolicyName) {
return backupPolicyName(Output.of(backupPolicyName));
}
/**
* @param backupScheduleName The name of the backup schedule to be fetched
*
* @return builder
*
*/
public Builder backupScheduleName(Output backupScheduleName) {
$.backupScheduleName = backupScheduleName;
return this;
}
/**
* @param backupScheduleName The name of the backup schedule to be fetched
*
* @return builder
*
*/
public Builder backupScheduleName(String backupScheduleName) {
return backupScheduleName(Output.of(backupScheduleName));
}
/**
* @param deviceName The device name
*
* @return builder
*
*/
public Builder deviceName(Output deviceName) {
$.deviceName = deviceName;
return this;
}
/**
* @param deviceName The device name
*
* @return builder
*
*/
public Builder deviceName(String deviceName) {
return deviceName(Output.of(deviceName));
}
/**
* @param managerName The manager name
*
* @return builder
*
*/
public Builder managerName(Output managerName) {
$.managerName = managerName;
return this;
}
/**
* @param managerName The manager name
*
* @return builder
*
*/
public Builder managerName(String managerName) {
return managerName(Output.of(managerName));
}
/**
* @param resourceGroupName The resource group name
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The resource group name
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
public GetBackupScheduleArgs build() {
if ($.backupPolicyName == null) {
throw new MissingRequiredPropertyException("GetBackupScheduleArgs", "backupPolicyName");
}
if ($.backupScheduleName == null) {
throw new MissingRequiredPropertyException("GetBackupScheduleArgs", "backupScheduleName");
}
if ($.deviceName == null) {
throw new MissingRequiredPropertyException("GetBackupScheduleArgs", "deviceName");
}
if ($.managerName == null) {
throw new MissingRequiredPropertyException("GetBackupScheduleArgs", "managerName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetBackupScheduleArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy