
com.pulumi.azurenative.workloads.outputs.ExistingRecoveryServicesVaultResponse 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ExistingRecoveryServicesVaultResponse {
/**
* @return The resource ID of the recovery services vault that has been created.
*
*/
private String id;
/**
* @return The vault type, whether it is existing or has to be created.
* Expected value is 'Existing'.
*
*/
private String vaultType;
private ExistingRecoveryServicesVaultResponse() {}
/**
* @return The resource ID of the recovery services vault that has been created.
*
*/
public String id() {
return this.id;
}
/**
* @return The vault type, whether it is existing or has to be created.
* Expected value is 'Existing'.
*
*/
public String vaultType() {
return this.vaultType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ExistingRecoveryServicesVaultResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String vaultType;
public Builder() {}
public Builder(ExistingRecoveryServicesVaultResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.vaultType = defaults.vaultType;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("ExistingRecoveryServicesVaultResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder vaultType(String vaultType) {
if (vaultType == null) {
throw new MissingRequiredPropertyException("ExistingRecoveryServicesVaultResponse", "vaultType");
}
this.vaultType = vaultType;
return this;
}
public ExistingRecoveryServicesVaultResponse build() {
final var _resultValue = new ExistingRecoveryServicesVaultResponse();
_resultValue.id = id;
_resultValue.vaultType = vaultType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy