
com.pulumi.azurenative.recoveryservices.outputs.AzureVmWorkloadProtectedItemExtendedInfoResponse 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.recoveryservices.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 AzureVmWorkloadProtectedItemExtendedInfoResponse {
/**
* @return The latest backup copy available for this backup item in archive tier
*
*/
private @Nullable String newestRecoveryPointInArchive;
/**
* @return The oldest backup copy available for this backup item across all tiers.
*
*/
private @Nullable String oldestRecoveryPoint;
/**
* @return The oldest backup copy available for this backup item in archive tier
*
*/
private @Nullable String oldestRecoveryPointInArchive;
/**
* @return The oldest backup copy available for this backup item in vault tier
*
*/
private @Nullable String oldestRecoveryPointInVault;
/**
* @return Indicates consistency of policy object and policy applied to this backup item.
*
*/
private @Nullable String policyState;
/**
* @return Indicates consistency of policy object and policy applied to this backup item.
*
*/
private @Nullable String recoveryModel;
/**
* @return Number of backup copies available for this backup item.
*
*/
private @Nullable Integer recoveryPointCount;
private AzureVmWorkloadProtectedItemExtendedInfoResponse() {}
/**
* @return The latest backup copy available for this backup item in archive tier
*
*/
public Optional newestRecoveryPointInArchive() {
return Optional.ofNullable(this.newestRecoveryPointInArchive);
}
/**
* @return The oldest backup copy available for this backup item across all tiers.
*
*/
public Optional oldestRecoveryPoint() {
return Optional.ofNullable(this.oldestRecoveryPoint);
}
/**
* @return The oldest backup copy available for this backup item in archive tier
*
*/
public Optional oldestRecoveryPointInArchive() {
return Optional.ofNullable(this.oldestRecoveryPointInArchive);
}
/**
* @return The oldest backup copy available for this backup item in vault tier
*
*/
public Optional oldestRecoveryPointInVault() {
return Optional.ofNullable(this.oldestRecoveryPointInVault);
}
/**
* @return Indicates consistency of policy object and policy applied to this backup item.
*
*/
public Optional policyState() {
return Optional.ofNullable(this.policyState);
}
/**
* @return Indicates consistency of policy object and policy applied to this backup item.
*
*/
public Optional recoveryModel() {
return Optional.ofNullable(this.recoveryModel);
}
/**
* @return Number of backup copies available for this backup item.
*
*/
public Optional recoveryPointCount() {
return Optional.ofNullable(this.recoveryPointCount);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureVmWorkloadProtectedItemExtendedInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String newestRecoveryPointInArchive;
private @Nullable String oldestRecoveryPoint;
private @Nullable String oldestRecoveryPointInArchive;
private @Nullable String oldestRecoveryPointInVault;
private @Nullable String policyState;
private @Nullable String recoveryModel;
private @Nullable Integer recoveryPointCount;
public Builder() {}
public Builder(AzureVmWorkloadProtectedItemExtendedInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.newestRecoveryPointInArchive = defaults.newestRecoveryPointInArchive;
this.oldestRecoveryPoint = defaults.oldestRecoveryPoint;
this.oldestRecoveryPointInArchive = defaults.oldestRecoveryPointInArchive;
this.oldestRecoveryPointInVault = defaults.oldestRecoveryPointInVault;
this.policyState = defaults.policyState;
this.recoveryModel = defaults.recoveryModel;
this.recoveryPointCount = defaults.recoveryPointCount;
}
@CustomType.Setter
public Builder newestRecoveryPointInArchive(@Nullable String newestRecoveryPointInArchive) {
this.newestRecoveryPointInArchive = newestRecoveryPointInArchive;
return this;
}
@CustomType.Setter
public Builder oldestRecoveryPoint(@Nullable String oldestRecoveryPoint) {
this.oldestRecoveryPoint = oldestRecoveryPoint;
return this;
}
@CustomType.Setter
public Builder oldestRecoveryPointInArchive(@Nullable String oldestRecoveryPointInArchive) {
this.oldestRecoveryPointInArchive = oldestRecoveryPointInArchive;
return this;
}
@CustomType.Setter
public Builder oldestRecoveryPointInVault(@Nullable String oldestRecoveryPointInVault) {
this.oldestRecoveryPointInVault = oldestRecoveryPointInVault;
return this;
}
@CustomType.Setter
public Builder policyState(@Nullable String policyState) {
this.policyState = policyState;
return this;
}
@CustomType.Setter
public Builder recoveryModel(@Nullable String recoveryModel) {
this.recoveryModel = recoveryModel;
return this;
}
@CustomType.Setter
public Builder recoveryPointCount(@Nullable Integer recoveryPointCount) {
this.recoveryPointCount = recoveryPointCount;
return this;
}
public AzureVmWorkloadProtectedItemExtendedInfoResponse build() {
final var _resultValue = new AzureVmWorkloadProtectedItemExtendedInfoResponse();
_resultValue.newestRecoveryPointInArchive = newestRecoveryPointInArchive;
_resultValue.oldestRecoveryPoint = oldestRecoveryPoint;
_resultValue.oldestRecoveryPointInArchive = oldestRecoveryPointInArchive;
_resultValue.oldestRecoveryPointInVault = oldestRecoveryPointInVault;
_resultValue.policyState = policyState;
_resultValue.recoveryModel = recoveryModel;
_resultValue.recoveryPointCount = recoveryPointCount;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy