
com.pulumi.azurenative.recoveryservices.inputs.GetProtectionContainerArgs Maven / Gradle / Ivy
// *** 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.recoveryservices.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 GetProtectionContainerArgs extends com.pulumi.resources.InvokeArgs {
public static final GetProtectionContainerArgs Empty = new GetProtectionContainerArgs();
/**
* Name of the container whose details need to be fetched.
*
*/
@Import(name="containerName", required=true)
private Output containerName;
/**
* @return Name of the container whose details need to be fetched.
*
*/
public Output containerName() {
return this.containerName;
}
/**
* Name of the fabric where the container belongs.
*
*/
@Import(name="fabricName", required=true)
private Output fabricName;
/**
* @return Name of the fabric where the container belongs.
*
*/
public Output fabricName() {
return this.fabricName;
}
/**
* The name of the resource group where the recovery services vault is present.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group where the recovery services vault is present.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the recovery services vault.
*
*/
@Import(name="vaultName", required=true)
private Output vaultName;
/**
* @return The name of the recovery services vault.
*
*/
public Output vaultName() {
return this.vaultName;
}
private GetProtectionContainerArgs() {}
private GetProtectionContainerArgs(GetProtectionContainerArgs $) {
this.containerName = $.containerName;
this.fabricName = $.fabricName;
this.resourceGroupName = $.resourceGroupName;
this.vaultName = $.vaultName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetProtectionContainerArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetProtectionContainerArgs $;
public Builder() {
$ = new GetProtectionContainerArgs();
}
public Builder(GetProtectionContainerArgs defaults) {
$ = new GetProtectionContainerArgs(Objects.requireNonNull(defaults));
}
/**
* @param containerName Name of the container whose details need to be fetched.
*
* @return builder
*
*/
public Builder containerName(Output containerName) {
$.containerName = containerName;
return this;
}
/**
* @param containerName Name of the container whose details need to be fetched.
*
* @return builder
*
*/
public Builder containerName(String containerName) {
return containerName(Output.of(containerName));
}
/**
* @param fabricName Name of the fabric where the container belongs.
*
* @return builder
*
*/
public Builder fabricName(Output fabricName) {
$.fabricName = fabricName;
return this;
}
/**
* @param fabricName Name of the fabric where the container belongs.
*
* @return builder
*
*/
public Builder fabricName(String fabricName) {
return fabricName(Output.of(fabricName));
}
/**
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param vaultName The name of the recovery services vault.
*
* @return builder
*
*/
public Builder vaultName(Output vaultName) {
$.vaultName = vaultName;
return this;
}
/**
* @param vaultName The name of the recovery services vault.
*
* @return builder
*
*/
public Builder vaultName(String vaultName) {
return vaultName(Output.of(vaultName));
}
public GetProtectionContainerArgs build() {
if ($.containerName == null) {
throw new MissingRequiredPropertyException("GetProtectionContainerArgs", "containerName");
}
if ($.fabricName == null) {
throw new MissingRequiredPropertyException("GetProtectionContainerArgs", "fabricName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetProtectionContainerArgs", "resourceGroupName");
}
if ($.vaultName == null) {
throw new MissingRequiredPropertyException("GetProtectionContainerArgs", "vaultName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy