com.pulumi.azure.netapp.inputs.VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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.netapp.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 VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs extends com.pulumi.resources.ResourceArgs {
public static final VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs Empty = new VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs();
/**
* Resource ID of the snapshot policy to apply to the volume.
*
*/
@Import(name="snapshotPolicyId", required=true)
private Output snapshotPolicyId;
/**
* @return Resource ID of the snapshot policy to apply to the volume.
*
*/
public Output snapshotPolicyId() {
return this.snapshotPolicyId;
}
private VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs() {}
private VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs(VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs $) {
this.snapshotPolicyId = $.snapshotPolicyId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs $;
public Builder() {
$ = new VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs();
}
public Builder(VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs defaults) {
$ = new VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs(Objects.requireNonNull(defaults));
}
/**
* @param snapshotPolicyId Resource ID of the snapshot policy to apply to the volume.
*
* @return builder
*
*/
public Builder snapshotPolicyId(Output snapshotPolicyId) {
$.snapshotPolicyId = snapshotPolicyId;
return this;
}
/**
* @param snapshotPolicyId Resource ID of the snapshot policy to apply to the volume.
*
* @return builder
*
*/
public Builder snapshotPolicyId(String snapshotPolicyId) {
return snapshotPolicyId(Output.of(snapshotPolicyId));
}
public VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs build() {
if ($.snapshotPolicyId == null) {
throw new MissingRequiredPropertyException("VolumeGroupSapHanaVolumeDataProtectionSnapshotPolicyArgs", "snapshotPolicyId");
}
return $;
}
}
}