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

com.pulumi.azurenative.recoveryservices.inputs.AzureSqlProtectedItemExtendedInfoArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
Show newest version
// *** 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Additional information on Azure Sql specific protected item.
 * 
 */
public final class AzureSqlProtectedItemExtendedInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureSqlProtectedItemExtendedInfoArgs Empty = new AzureSqlProtectedItemExtendedInfoArgs();

    /**
     * The oldest backup copy available for this item in the service.
     * 
     */
    @Import(name="oldestRecoveryPoint")
    private @Nullable Output oldestRecoveryPoint;

    /**
     * @return The oldest backup copy available for this item in the service.
     * 
     */
    public Optional> oldestRecoveryPoint() {
        return Optional.ofNullable(this.oldestRecoveryPoint);
    }

    /**
     * State of the backup policy associated with this backup item.
     * 
     */
    @Import(name="policyState")
    private @Nullable Output policyState;

    /**
     * @return State of the backup policy associated with this backup item.
     * 
     */
    public Optional> policyState() {
        return Optional.ofNullable(this.policyState);
    }

    /**
     * Number of available backup copies associated with this backup item.
     * 
     */
    @Import(name="recoveryPointCount")
    private @Nullable Output recoveryPointCount;

    /**
     * @return Number of available backup copies associated with this backup item.
     * 
     */
    public Optional> recoveryPointCount() {
        return Optional.ofNullable(this.recoveryPointCount);
    }

    private AzureSqlProtectedItemExtendedInfoArgs() {}

    private AzureSqlProtectedItemExtendedInfoArgs(AzureSqlProtectedItemExtendedInfoArgs $) {
        this.oldestRecoveryPoint = $.oldestRecoveryPoint;
        this.policyState = $.policyState;
        this.recoveryPointCount = $.recoveryPointCount;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(AzureSqlProtectedItemExtendedInfoArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private AzureSqlProtectedItemExtendedInfoArgs $;

        public Builder() {
            $ = new AzureSqlProtectedItemExtendedInfoArgs();
        }

        public Builder(AzureSqlProtectedItemExtendedInfoArgs defaults) {
            $ = new AzureSqlProtectedItemExtendedInfoArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param oldestRecoveryPoint The oldest backup copy available for this item in the service.
         * 
         * @return builder
         * 
         */
        public Builder oldestRecoveryPoint(@Nullable Output oldestRecoveryPoint) {
            $.oldestRecoveryPoint = oldestRecoveryPoint;
            return this;
        }

        /**
         * @param oldestRecoveryPoint The oldest backup copy available for this item in the service.
         * 
         * @return builder
         * 
         */
        public Builder oldestRecoveryPoint(String oldestRecoveryPoint) {
            return oldestRecoveryPoint(Output.of(oldestRecoveryPoint));
        }

        /**
         * @param policyState State of the backup policy associated with this backup item.
         * 
         * @return builder
         * 
         */
        public Builder policyState(@Nullable Output policyState) {
            $.policyState = policyState;
            return this;
        }

        /**
         * @param policyState State of the backup policy associated with this backup item.
         * 
         * @return builder
         * 
         */
        public Builder policyState(String policyState) {
            return policyState(Output.of(policyState));
        }

        /**
         * @param recoveryPointCount Number of available backup copies associated with this backup item.
         * 
         * @return builder
         * 
         */
        public Builder recoveryPointCount(@Nullable Output recoveryPointCount) {
            $.recoveryPointCount = recoveryPointCount;
            return this;
        }

        /**
         * @param recoveryPointCount Number of available backup copies associated with this backup item.
         * 
         * @return builder
         * 
         */
        public Builder recoveryPointCount(Integer recoveryPointCount) {
            return recoveryPointCount(Output.of(recoveryPointCount));
        }

        public AzureSqlProtectedItemExtendedInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy