com.pulumi.azurenative.netapp.inputs.GetSnapshotArgs 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.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 GetSnapshotArgs extends com.pulumi.resources.InvokeArgs {
public static final GetSnapshotArgs Empty = new GetSnapshotArgs();
/**
* The name of the NetApp account
*
*/
@Import(name="accountName", required=true)
private Output accountName;
/**
* @return The name of the NetApp account
*
*/
public Output accountName() {
return this.accountName;
}
/**
* The name of the capacity pool
*
*/
@Import(name="poolName", required=true)
private Output poolName;
/**
* @return The name of the capacity pool
*
*/
public Output poolName() {
return this.poolName;
}
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the snapshot
*
*/
@Import(name="snapshotName", required=true)
private Output snapshotName;
/**
* @return The name of the snapshot
*
*/
public Output snapshotName() {
return this.snapshotName;
}
/**
* The name of the volume
*
*/
@Import(name="volumeName", required=true)
private Output volumeName;
/**
* @return The name of the volume
*
*/
public Output volumeName() {
return this.volumeName;
}
private GetSnapshotArgs() {}
private GetSnapshotArgs(GetSnapshotArgs $) {
this.accountName = $.accountName;
this.poolName = $.poolName;
this.resourceGroupName = $.resourceGroupName;
this.snapshotName = $.snapshotName;
this.volumeName = $.volumeName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSnapshotArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetSnapshotArgs $;
public Builder() {
$ = new GetSnapshotArgs();
}
public Builder(GetSnapshotArgs defaults) {
$ = new GetSnapshotArgs(Objects.requireNonNull(defaults));
}
/**
* @param accountName The name of the NetApp account
*
* @return builder
*
*/
public Builder accountName(Output accountName) {
$.accountName = accountName;
return this;
}
/**
* @param accountName The name of the NetApp account
*
* @return builder
*
*/
public Builder accountName(String accountName) {
return accountName(Output.of(accountName));
}
/**
* @param poolName The name of the capacity pool
*
* @return builder
*
*/
public Builder poolName(Output poolName) {
$.poolName = poolName;
return this;
}
/**
* @param poolName The name of the capacity pool
*
* @return builder
*
*/
public Builder poolName(String poolName) {
return poolName(Output.of(poolName));
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param snapshotName The name of the snapshot
*
* @return builder
*
*/
public Builder snapshotName(Output snapshotName) {
$.snapshotName = snapshotName;
return this;
}
/**
* @param snapshotName The name of the snapshot
*
* @return builder
*
*/
public Builder snapshotName(String snapshotName) {
return snapshotName(Output.of(snapshotName));
}
/**
* @param volumeName The name of the volume
*
* @return builder
*
*/
public Builder volumeName(Output volumeName) {
$.volumeName = volumeName;
return this;
}
/**
* @param volumeName The name of the volume
*
* @return builder
*
*/
public Builder volumeName(String volumeName) {
return volumeName(Output.of(volumeName));
}
public GetSnapshotArgs build() {
if ($.accountName == null) {
throw new MissingRequiredPropertyException("GetSnapshotArgs", "accountName");
}
if ($.poolName == null) {
throw new MissingRequiredPropertyException("GetSnapshotArgs", "poolName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetSnapshotArgs", "resourceGroupName");
}
if ($.snapshotName == null) {
throw new MissingRequiredPropertyException("GetSnapshotArgs", "snapshotName");
}
if ($.volumeName == null) {
throw new MissingRequiredPropertyException("GetSnapshotArgs", "volumeName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy