
com.pulumi.azurenative.recoveryservices.inputs.GetProtectionIntentArgs 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 GetProtectionIntentArgs extends com.pulumi.resources.InvokeArgs {
public static final GetProtectionIntentArgs Empty = new GetProtectionIntentArgs();
/**
* Fabric name associated with the backed up item.
*
*/
@Import(name="fabricName", required=true)
private Output fabricName;
/**
* @return Fabric name associated with the backed up item.
*
*/
public Output fabricName() {
return this.fabricName;
}
/**
* Backed up item name whose details are to be fetched.
*
*/
@Import(name="intentObjectName", required=true)
private Output intentObjectName;
/**
* @return Backed up item name whose details are to be fetched.
*
*/
public Output intentObjectName() {
return this.intentObjectName;
}
/**
* 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 GetProtectionIntentArgs() {}
private GetProtectionIntentArgs(GetProtectionIntentArgs $) {
this.fabricName = $.fabricName;
this.intentObjectName = $.intentObjectName;
this.resourceGroupName = $.resourceGroupName;
this.vaultName = $.vaultName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetProtectionIntentArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetProtectionIntentArgs $;
public Builder() {
$ = new GetProtectionIntentArgs();
}
public Builder(GetProtectionIntentArgs defaults) {
$ = new GetProtectionIntentArgs(Objects.requireNonNull(defaults));
}
/**
* @param fabricName Fabric name associated with the backed up item.
*
* @return builder
*
*/
public Builder fabricName(Output fabricName) {
$.fabricName = fabricName;
return this;
}
/**
* @param fabricName Fabric name associated with the backed up item.
*
* @return builder
*
*/
public Builder fabricName(String fabricName) {
return fabricName(Output.of(fabricName));
}
/**
* @param intentObjectName Backed up item name whose details are to be fetched.
*
* @return builder
*
*/
public Builder intentObjectName(Output intentObjectName) {
$.intentObjectName = intentObjectName;
return this;
}
/**
* @param intentObjectName Backed up item name whose details are to be fetched.
*
* @return builder
*
*/
public Builder intentObjectName(String intentObjectName) {
return intentObjectName(Output.of(intentObjectName));
}
/**
* @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 GetProtectionIntentArgs build() {
if ($.fabricName == null) {
throw new MissingRequiredPropertyException("GetProtectionIntentArgs", "fabricName");
}
if ($.intentObjectName == null) {
throw new MissingRequiredPropertyException("GetProtectionIntentArgs", "intentObjectName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetProtectionIntentArgs", "resourceGroupName");
}
if ($.vaultName == null) {
throw new MissingRequiredPropertyException("GetProtectionIntentArgs", "vaultName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy