![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.appservice.outputs.GetLinuxFunctionAppBackupSchedule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.appservice.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetLinuxFunctionAppBackupSchedule {
/**
* @return How often the backup is executed.
*
*/
private Integer frequencyInterval;
/**
* @return The unit of time for how often the backup takes place.
*
*/
private String frequencyUnit;
/**
* @return Does the service keep at least one backup, regardless of age of backup?
*
*/
private Boolean keepAtLeastOneBackup;
/**
* @return The time the backup was last attempted.
*
*/
private String lastExecutionTime;
/**
* @return After how many days backups are deleted.
*
*/
private Integer retentionPeriodDays;
/**
* @return When the schedule starts working in RFC-3339 format.
*
*/
private String startTime;
private GetLinuxFunctionAppBackupSchedule() {}
/**
* @return How often the backup is executed.
*
*/
public Integer frequencyInterval() {
return this.frequencyInterval;
}
/**
* @return The unit of time for how often the backup takes place.
*
*/
public String frequencyUnit() {
return this.frequencyUnit;
}
/**
* @return Does the service keep at least one backup, regardless of age of backup?
*
*/
public Boolean keepAtLeastOneBackup() {
return this.keepAtLeastOneBackup;
}
/**
* @return The time the backup was last attempted.
*
*/
public String lastExecutionTime() {
return this.lastExecutionTime;
}
/**
* @return After how many days backups are deleted.
*
*/
public Integer retentionPeriodDays() {
return this.retentionPeriodDays;
}
/**
* @return When the schedule starts working in RFC-3339 format.
*
*/
public String startTime() {
return this.startTime;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLinuxFunctionAppBackupSchedule defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer frequencyInterval;
private String frequencyUnit;
private Boolean keepAtLeastOneBackup;
private String lastExecutionTime;
private Integer retentionPeriodDays;
private String startTime;
public Builder() {}
public Builder(GetLinuxFunctionAppBackupSchedule defaults) {
Objects.requireNonNull(defaults);
this.frequencyInterval = defaults.frequencyInterval;
this.frequencyUnit = defaults.frequencyUnit;
this.keepAtLeastOneBackup = defaults.keepAtLeastOneBackup;
this.lastExecutionTime = defaults.lastExecutionTime;
this.retentionPeriodDays = defaults.retentionPeriodDays;
this.startTime = defaults.startTime;
}
@CustomType.Setter
public Builder frequencyInterval(Integer frequencyInterval) {
if (frequencyInterval == null) {
throw new MissingRequiredPropertyException("GetLinuxFunctionAppBackupSchedule", "frequencyInterval");
}
this.frequencyInterval = frequencyInterval;
return this;
}
@CustomType.Setter
public Builder frequencyUnit(String frequencyUnit) {
if (frequencyUnit == null) {
throw new MissingRequiredPropertyException("GetLinuxFunctionAppBackupSchedule", "frequencyUnit");
}
this.frequencyUnit = frequencyUnit;
return this;
}
@CustomType.Setter
public Builder keepAtLeastOneBackup(Boolean keepAtLeastOneBackup) {
if (keepAtLeastOneBackup == null) {
throw new MissingRequiredPropertyException("GetLinuxFunctionAppBackupSchedule", "keepAtLeastOneBackup");
}
this.keepAtLeastOneBackup = keepAtLeastOneBackup;
return this;
}
@CustomType.Setter
public Builder lastExecutionTime(String lastExecutionTime) {
if (lastExecutionTime == null) {
throw new MissingRequiredPropertyException("GetLinuxFunctionAppBackupSchedule", "lastExecutionTime");
}
this.lastExecutionTime = lastExecutionTime;
return this;
}
@CustomType.Setter
public Builder retentionPeriodDays(Integer retentionPeriodDays) {
if (retentionPeriodDays == null) {
throw new MissingRequiredPropertyException("GetLinuxFunctionAppBackupSchedule", "retentionPeriodDays");
}
this.retentionPeriodDays = retentionPeriodDays;
return this;
}
@CustomType.Setter
public Builder startTime(String startTime) {
if (startTime == null) {
throw new MissingRequiredPropertyException("GetLinuxFunctionAppBackupSchedule", "startTime");
}
this.startTime = startTime;
return this;
}
public GetLinuxFunctionAppBackupSchedule build() {
final var _resultValue = new GetLinuxFunctionAppBackupSchedule();
_resultValue.frequencyInterval = frequencyInterval;
_resultValue.frequencyUnit = frequencyUnit;
_resultValue.keepAtLeastOneBackup = keepAtLeastOneBackup;
_resultValue.lastExecutionTime = lastExecutionTime;
_resultValue.retentionPeriodDays = retentionPeriodDays;
_resultValue.startTime = startTime;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy