com.pulumi.azurenative.dataprotection.outputs.BackupVaultResponse 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.dataprotection.outputs;
import com.pulumi.azurenative.dataprotection.outputs.FeatureSettingsResponse;
import com.pulumi.azurenative.dataprotection.outputs.MonitoringSettingsResponse;
import com.pulumi.azurenative.dataprotection.outputs.ResourceMoveDetailsResponse;
import com.pulumi.azurenative.dataprotection.outputs.SecuritySettingsResponse;
import com.pulumi.azurenative.dataprotection.outputs.StorageSettingResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class BackupVaultResponse {
/**
* @return Feature Settings
*
*/
private @Nullable FeatureSettingsResponse featureSettings;
/**
* @return Is vault protected by resource guard
*
*/
private Boolean isVaultProtectedByResourceGuard;
/**
* @return Monitoring Settings
*
*/
private @Nullable MonitoringSettingsResponse monitoringSettings;
/**
* @return Provisioning state of the BackupVault resource
*
*/
private String provisioningState;
/**
* @return Resource move details for backup vault
*
*/
private ResourceMoveDetailsResponse resourceMoveDetails;
/**
* @return Resource move state for backup vault
*
*/
private String resourceMoveState;
/**
* @return Security Settings
*
*/
private @Nullable SecuritySettingsResponse securitySettings;
/**
* @return Storage Settings
*
*/
private List storageSettings;
private BackupVaultResponse() {}
/**
* @return Feature Settings
*
*/
public Optional featureSettings() {
return Optional.ofNullable(this.featureSettings);
}
/**
* @return Is vault protected by resource guard
*
*/
public Boolean isVaultProtectedByResourceGuard() {
return this.isVaultProtectedByResourceGuard;
}
/**
* @return Monitoring Settings
*
*/
public Optional monitoringSettings() {
return Optional.ofNullable(this.monitoringSettings);
}
/**
* @return Provisioning state of the BackupVault resource
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Resource move details for backup vault
*
*/
public ResourceMoveDetailsResponse resourceMoveDetails() {
return this.resourceMoveDetails;
}
/**
* @return Resource move state for backup vault
*
*/
public String resourceMoveState() {
return this.resourceMoveState;
}
/**
* @return Security Settings
*
*/
public Optional securitySettings() {
return Optional.ofNullable(this.securitySettings);
}
/**
* @return Storage Settings
*
*/
public List storageSettings() {
return this.storageSettings;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BackupVaultResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable FeatureSettingsResponse featureSettings;
private Boolean isVaultProtectedByResourceGuard;
private @Nullable MonitoringSettingsResponse monitoringSettings;
private String provisioningState;
private ResourceMoveDetailsResponse resourceMoveDetails;
private String resourceMoveState;
private @Nullable SecuritySettingsResponse securitySettings;
private List storageSettings;
public Builder() {}
public Builder(BackupVaultResponse defaults) {
Objects.requireNonNull(defaults);
this.featureSettings = defaults.featureSettings;
this.isVaultProtectedByResourceGuard = defaults.isVaultProtectedByResourceGuard;
this.monitoringSettings = defaults.monitoringSettings;
this.provisioningState = defaults.provisioningState;
this.resourceMoveDetails = defaults.resourceMoveDetails;
this.resourceMoveState = defaults.resourceMoveState;
this.securitySettings = defaults.securitySettings;
this.storageSettings = defaults.storageSettings;
}
@CustomType.Setter
public Builder featureSettings(@Nullable FeatureSettingsResponse featureSettings) {
this.featureSettings = featureSettings;
return this;
}
@CustomType.Setter
public Builder isVaultProtectedByResourceGuard(Boolean isVaultProtectedByResourceGuard) {
if (isVaultProtectedByResourceGuard == null) {
throw new MissingRequiredPropertyException("BackupVaultResponse", "isVaultProtectedByResourceGuard");
}
this.isVaultProtectedByResourceGuard = isVaultProtectedByResourceGuard;
return this;
}
@CustomType.Setter
public Builder monitoringSettings(@Nullable MonitoringSettingsResponse monitoringSettings) {
this.monitoringSettings = monitoringSettings;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("BackupVaultResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder resourceMoveDetails(ResourceMoveDetailsResponse resourceMoveDetails) {
if (resourceMoveDetails == null) {
throw new MissingRequiredPropertyException("BackupVaultResponse", "resourceMoveDetails");
}
this.resourceMoveDetails = resourceMoveDetails;
return this;
}
@CustomType.Setter
public Builder resourceMoveState(String resourceMoveState) {
if (resourceMoveState == null) {
throw new MissingRequiredPropertyException("BackupVaultResponse", "resourceMoveState");
}
this.resourceMoveState = resourceMoveState;
return this;
}
@CustomType.Setter
public Builder securitySettings(@Nullable SecuritySettingsResponse securitySettings) {
this.securitySettings = securitySettings;
return this;
}
@CustomType.Setter
public Builder storageSettings(List storageSettings) {
if (storageSettings == null) {
throw new MissingRequiredPropertyException("BackupVaultResponse", "storageSettings");
}
this.storageSettings = storageSettings;
return this;
}
public Builder storageSettings(StorageSettingResponse... storageSettings) {
return storageSettings(List.of(storageSettings));
}
public BackupVaultResponse build() {
final var _resultValue = new BackupVaultResponse();
_resultValue.featureSettings = featureSettings;
_resultValue.isVaultProtectedByResourceGuard = isVaultProtectedByResourceGuard;
_resultValue.monitoringSettings = monitoringSettings;
_resultValue.provisioningState = provisioningState;
_resultValue.resourceMoveDetails = resourceMoveDetails;
_resultValue.resourceMoveState = resourceMoveState;
_resultValue.securitySettings = securitySettings;
_resultValue.storageSettings = storageSettings;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy