
com.pulumi.azurenative.dbformariadb.outputs.StorageProfileResponse 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.dbformariadb.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class StorageProfileResponse {
/**
* @return Backup retention days for the server.
*
*/
private @Nullable Integer backupRetentionDays;
/**
* @return Enable Geo-redundant or not for server backup.
*
*/
private @Nullable String geoRedundantBackup;
/**
* @return Enable Storage Auto Grow.
*
*/
private @Nullable String storageAutogrow;
/**
* @return Max storage allowed for a server.
*
*/
private @Nullable Integer storageMB;
private StorageProfileResponse() {}
/**
* @return Backup retention days for the server.
*
*/
public Optional backupRetentionDays() {
return Optional.ofNullable(this.backupRetentionDays);
}
/**
* @return Enable Geo-redundant or not for server backup.
*
*/
public Optional geoRedundantBackup() {
return Optional.ofNullable(this.geoRedundantBackup);
}
/**
* @return Enable Storage Auto Grow.
*
*/
public Optional storageAutogrow() {
return Optional.ofNullable(this.storageAutogrow);
}
/**
* @return Max storage allowed for a server.
*
*/
public Optional storageMB() {
return Optional.ofNullable(this.storageMB);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StorageProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer backupRetentionDays;
private @Nullable String geoRedundantBackup;
private @Nullable String storageAutogrow;
private @Nullable Integer storageMB;
public Builder() {}
public Builder(StorageProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.backupRetentionDays = defaults.backupRetentionDays;
this.geoRedundantBackup = defaults.geoRedundantBackup;
this.storageAutogrow = defaults.storageAutogrow;
this.storageMB = defaults.storageMB;
}
@CustomType.Setter
public Builder backupRetentionDays(@Nullable Integer backupRetentionDays) {
this.backupRetentionDays = backupRetentionDays;
return this;
}
@CustomType.Setter
public Builder geoRedundantBackup(@Nullable String geoRedundantBackup) {
this.geoRedundantBackup = geoRedundantBackup;
return this;
}
@CustomType.Setter
public Builder storageAutogrow(@Nullable String storageAutogrow) {
this.storageAutogrow = storageAutogrow;
return this;
}
@CustomType.Setter
public Builder storageMB(@Nullable Integer storageMB) {
this.storageMB = storageMB;
return this;
}
public StorageProfileResponse build() {
final var _resultValue = new StorageProfileResponse();
_resultValue.backupRetentionDays = backupRetentionDays;
_resultValue.geoRedundantBackup = geoRedundantBackup;
_resultValue.storageAutogrow = storageAutogrow;
_resultValue.storageMB = storageMB;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy