
com.pulumi.azurenative.elasticsan.inputs.GetVolumeSnapshotPlainArgs 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.elasticsan.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetVolumeSnapshotPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetVolumeSnapshotPlainArgs Empty = new GetVolumeSnapshotPlainArgs();
/**
* The name of the ElasticSan.
*
*/
@Import(name="elasticSanName", required=true)
private String elasticSanName;
/**
* @return The name of the ElasticSan.
*
*/
public String elasticSanName() {
return this.elasticSanName;
}
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the volume snapshot within the given volume group.
*
*/
@Import(name="snapshotName", required=true)
private String snapshotName;
/**
* @return The name of the volume snapshot within the given volume group.
*
*/
public String snapshotName() {
return this.snapshotName;
}
/**
* The name of the VolumeGroup.
*
*/
@Import(name="volumeGroupName", required=true)
private String volumeGroupName;
/**
* @return The name of the VolumeGroup.
*
*/
public String volumeGroupName() {
return this.volumeGroupName;
}
private GetVolumeSnapshotPlainArgs() {}
private GetVolumeSnapshotPlainArgs(GetVolumeSnapshotPlainArgs $) {
this.elasticSanName = $.elasticSanName;
this.resourceGroupName = $.resourceGroupName;
this.snapshotName = $.snapshotName;
this.volumeGroupName = $.volumeGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVolumeSnapshotPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetVolumeSnapshotPlainArgs $;
public Builder() {
$ = new GetVolumeSnapshotPlainArgs();
}
public Builder(GetVolumeSnapshotPlainArgs defaults) {
$ = new GetVolumeSnapshotPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param elasticSanName The name of the ElasticSan.
*
* @return builder
*
*/
public Builder elasticSanName(String elasticSanName) {
$.elasticSanName = elasticSanName;
return this;
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param snapshotName The name of the volume snapshot within the given volume group.
*
* @return builder
*
*/
public Builder snapshotName(String snapshotName) {
$.snapshotName = snapshotName;
return this;
}
/**
* @param volumeGroupName The name of the VolumeGroup.
*
* @return builder
*
*/
public Builder volumeGroupName(String volumeGroupName) {
$.volumeGroupName = volumeGroupName;
return this;
}
public GetVolumeSnapshotPlainArgs build() {
if ($.elasticSanName == null) {
throw new MissingRequiredPropertyException("GetVolumeSnapshotPlainArgs", "elasticSanName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetVolumeSnapshotPlainArgs", "resourceGroupName");
}
if ($.snapshotName == null) {
throw new MissingRequiredPropertyException("GetVolumeSnapshotPlainArgs", "snapshotName");
}
if ($.volumeGroupName == null) {
throw new MissingRequiredPropertyException("GetVolumeSnapshotPlainArgs", "volumeGroupName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy