All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.recoveryservices.outputs.AzureIaaSVMProtectedItemExtendedInfoResponse 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.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AzureIaaSVMProtectedItemExtendedInfoResponse {
    /**
     * @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 Specifies if backup policy associated with the backup item is inconsistent.
     * 
     */
    private @Nullable Boolean policyInconsistent;
    /**
     * @return Number of backup copies available for this backup item.
     * 
     */
    private @Nullable Integer recoveryPointCount;

    private AzureIaaSVMProtectedItemExtendedInfoResponse() {}
    /**
     * @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 Specifies if backup policy associated with the backup item is inconsistent.
     * 
     */
    public Optional policyInconsistent() {
        return Optional.ofNullable(this.policyInconsistent);
    }
    /**
     * @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(AzureIaaSVMProtectedItemExtendedInfoResponse 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 Boolean policyInconsistent;
        private @Nullable Integer recoveryPointCount;
        public Builder() {}
        public Builder(AzureIaaSVMProtectedItemExtendedInfoResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.newestRecoveryPointInArchive = defaults.newestRecoveryPointInArchive;
    	      this.oldestRecoveryPoint = defaults.oldestRecoveryPoint;
    	      this.oldestRecoveryPointInArchive = defaults.oldestRecoveryPointInArchive;
    	      this.oldestRecoveryPointInVault = defaults.oldestRecoveryPointInVault;
    	      this.policyInconsistent = defaults.policyInconsistent;
    	      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 policyInconsistent(@Nullable Boolean policyInconsistent) {

            this.policyInconsistent = policyInconsistent;
            return this;
        }
        @CustomType.Setter
        public Builder recoveryPointCount(@Nullable Integer recoveryPointCount) {

            this.recoveryPointCount = recoveryPointCount;
            return this;
        }
        public AzureIaaSVMProtectedItemExtendedInfoResponse build() {
            final var _resultValue = new AzureIaaSVMProtectedItemExtendedInfoResponse();
            _resultValue.newestRecoveryPointInArchive = newestRecoveryPointInArchive;
            _resultValue.oldestRecoveryPoint = oldestRecoveryPoint;
            _resultValue.oldestRecoveryPointInArchive = oldestRecoveryPointInArchive;
            _resultValue.oldestRecoveryPointInVault = oldestRecoveryPointInVault;
            _resultValue.policyInconsistent = policyInconsistent;
            _resultValue.recoveryPointCount = recoveryPointCount;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy