
com.pulumi.azurenative.azurearcdata.outputs.SqlServerDatabaseResourcePropertiesResponseBackupInformation 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.azurearcdata.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SqlServerDatabaseResourcePropertiesResponseBackupInformation {
/**
* @return Date time of last full backup.
*
*/
private @Nullable String lastFullBackup;
/**
* @return Date time of last log backup.
*
*/
private @Nullable String lastLogBackup;
private SqlServerDatabaseResourcePropertiesResponseBackupInformation() {}
/**
* @return Date time of last full backup.
*
*/
public Optional lastFullBackup() {
return Optional.ofNullable(this.lastFullBackup);
}
/**
* @return Date time of last log backup.
*
*/
public Optional lastLogBackup() {
return Optional.ofNullable(this.lastLogBackup);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SqlServerDatabaseResourcePropertiesResponseBackupInformation defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String lastFullBackup;
private @Nullable String lastLogBackup;
public Builder() {}
public Builder(SqlServerDatabaseResourcePropertiesResponseBackupInformation defaults) {
Objects.requireNonNull(defaults);
this.lastFullBackup = defaults.lastFullBackup;
this.lastLogBackup = defaults.lastLogBackup;
}
@CustomType.Setter
public Builder lastFullBackup(@Nullable String lastFullBackup) {
this.lastFullBackup = lastFullBackup;
return this;
}
@CustomType.Setter
public Builder lastLogBackup(@Nullable String lastLogBackup) {
this.lastLogBackup = lastLogBackup;
return this;
}
public SqlServerDatabaseResourcePropertiesResponseBackupInformation build() {
final var _resultValue = new SqlServerDatabaseResourcePropertiesResponseBackupInformation();
_resultValue.lastFullBackup = lastFullBackup;
_resultValue.lastLogBackup = lastLogBackup;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy