
com.pulumi.azurenative.workloads.inputs.ExistingRecoveryServicesVaultArgs 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.workloads.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* Existing recovery services vault.
*
*/
public final class ExistingRecoveryServicesVaultArgs extends com.pulumi.resources.ResourceArgs {
public static final ExistingRecoveryServicesVaultArgs Empty = new ExistingRecoveryServicesVaultArgs();
/**
* The resource ID of the recovery services vault that has been created.
*
*/
@Import(name="id", required=true)
private Output id;
/**
* @return The resource ID of the recovery services vault that has been created.
*
*/
public Output id() {
return this.id;
}
/**
* The vault type, whether it is existing or has to be created.
* Expected value is 'Existing'.
*
*/
@Import(name="vaultType", required=true)
private Output vaultType;
/**
* @return The vault type, whether it is existing or has to be created.
* Expected value is 'Existing'.
*
*/
public Output vaultType() {
return this.vaultType;
}
private ExistingRecoveryServicesVaultArgs() {}
private ExistingRecoveryServicesVaultArgs(ExistingRecoveryServicesVaultArgs $) {
this.id = $.id;
this.vaultType = $.vaultType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ExistingRecoveryServicesVaultArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ExistingRecoveryServicesVaultArgs $;
public Builder() {
$ = new ExistingRecoveryServicesVaultArgs();
}
public Builder(ExistingRecoveryServicesVaultArgs defaults) {
$ = new ExistingRecoveryServicesVaultArgs(Objects.requireNonNull(defaults));
}
/**
* @param id The resource ID of the recovery services vault that has been created.
*
* @return builder
*
*/
public Builder id(Output id) {
$.id = id;
return this;
}
/**
* @param id The resource ID of the recovery services vault that has been created.
*
* @return builder
*
*/
public Builder id(String id) {
return id(Output.of(id));
}
/**
* @param vaultType The vault type, whether it is existing or has to be created.
* Expected value is 'Existing'.
*
* @return builder
*
*/
public Builder vaultType(Output vaultType) {
$.vaultType = vaultType;
return this;
}
/**
* @param vaultType The vault type, whether it is existing or has to be created.
* Expected value is 'Existing'.
*
* @return builder
*
*/
public Builder vaultType(String vaultType) {
return vaultType(Output.of(vaultType));
}
public ExistingRecoveryServicesVaultArgs build() {
if ($.id == null) {
throw new MissingRequiredPropertyException("ExistingRecoveryServicesVaultArgs", "id");
}
$.vaultType = Codegen.stringProp("vaultType").output().arg($.vaultType).require();
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy