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

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

There is a newer version: 2.82.0
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.azurenative.recoveryservices.enums.BackupItemType;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Additional information of the container.
 * 
 */
public final class MabContainerExtendedInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final MabContainerExtendedInfoArgs Empty = new MabContainerExtendedInfoArgs();

    /**
     * Type of backup items associated with this container.
     * 
     */
    @Import(name="backupItemType")
    private @Nullable Output> backupItemType;

    /**
     * @return Type of backup items associated with this container.
     * 
     */
    public Optional>> backupItemType() {
        return Optional.ofNullable(this.backupItemType);
    }

    /**
     * List of backup items associated with this container.
     * 
     */
    @Import(name="backupItems")
    private @Nullable Output> backupItems;

    /**
     * @return List of backup items associated with this container.
     * 
     */
    public Optional>> backupItems() {
        return Optional.ofNullable(this.backupItems);
    }

    /**
     * Latest backup status of this container.
     * 
     */
    @Import(name="lastBackupStatus")
    private @Nullable Output lastBackupStatus;

    /**
     * @return Latest backup status of this container.
     * 
     */
    public Optional> lastBackupStatus() {
        return Optional.ofNullable(this.lastBackupStatus);
    }

    /**
     * Time stamp when this container was refreshed.
     * 
     */
    @Import(name="lastRefreshedAt")
    private @Nullable Output lastRefreshedAt;

    /**
     * @return Time stamp when this container was refreshed.
     * 
     */
    public Optional> lastRefreshedAt() {
        return Optional.ofNullable(this.lastRefreshedAt);
    }

    /**
     * Backup policy associated with this container.
     * 
     */
    @Import(name="policyName")
    private @Nullable Output policyName;

    /**
     * @return Backup policy associated with this container.
     * 
     */
    public Optional> policyName() {
        return Optional.ofNullable(this.policyName);
    }

    private MabContainerExtendedInfoArgs() {}

    private MabContainerExtendedInfoArgs(MabContainerExtendedInfoArgs $) {
        this.backupItemType = $.backupItemType;
        this.backupItems = $.backupItems;
        this.lastBackupStatus = $.lastBackupStatus;
        this.lastRefreshedAt = $.lastRefreshedAt;
        this.policyName = $.policyName;
    }

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

    public static final class Builder {
        private MabContainerExtendedInfoArgs $;

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

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

        /**
         * @param backupItemType Type of backup items associated with this container.
         * 
         * @return builder
         * 
         */
        public Builder backupItemType(@Nullable Output> backupItemType) {
            $.backupItemType = backupItemType;
            return this;
        }

        /**
         * @param backupItemType Type of backup items associated with this container.
         * 
         * @return builder
         * 
         */
        public Builder backupItemType(Either backupItemType) {
            return backupItemType(Output.of(backupItemType));
        }

        /**
         * @param backupItemType Type of backup items associated with this container.
         * 
         * @return builder
         * 
         */
        public Builder backupItemType(String backupItemType) {
            return backupItemType(Either.ofLeft(backupItemType));
        }

        /**
         * @param backupItemType Type of backup items associated with this container.
         * 
         * @return builder
         * 
         */
        public Builder backupItemType(BackupItemType backupItemType) {
            return backupItemType(Either.ofRight(backupItemType));
        }

        /**
         * @param backupItems List of backup items associated with this container.
         * 
         * @return builder
         * 
         */
        public Builder backupItems(@Nullable Output> backupItems) {
            $.backupItems = backupItems;
            return this;
        }

        /**
         * @param backupItems List of backup items associated with this container.
         * 
         * @return builder
         * 
         */
        public Builder backupItems(List backupItems) {
            return backupItems(Output.of(backupItems));
        }

        /**
         * @param backupItems List of backup items associated with this container.
         * 
         * @return builder
         * 
         */
        public Builder backupItems(String... backupItems) {
            return backupItems(List.of(backupItems));
        }

        /**
         * @param lastBackupStatus Latest backup status of this container.
         * 
         * @return builder
         * 
         */
        public Builder lastBackupStatus(@Nullable Output lastBackupStatus) {
            $.lastBackupStatus = lastBackupStatus;
            return this;
        }

        /**
         * @param lastBackupStatus Latest backup status of this container.
         * 
         * @return builder
         * 
         */
        public Builder lastBackupStatus(String lastBackupStatus) {
            return lastBackupStatus(Output.of(lastBackupStatus));
        }

        /**
         * @param lastRefreshedAt Time stamp when this container was refreshed.
         * 
         * @return builder
         * 
         */
        public Builder lastRefreshedAt(@Nullable Output lastRefreshedAt) {
            $.lastRefreshedAt = lastRefreshedAt;
            return this;
        }

        /**
         * @param lastRefreshedAt Time stamp when this container was refreshed.
         * 
         * @return builder
         * 
         */
        public Builder lastRefreshedAt(String lastRefreshedAt) {
            return lastRefreshedAt(Output.of(lastRefreshedAt));
        }

        /**
         * @param policyName Backup policy associated with this container.
         * 
         * @return builder
         * 
         */
        public Builder policyName(@Nullable Output policyName) {
            $.policyName = policyName;
            return this;
        }

        /**
         * @param policyName Backup policy associated with this container.
         * 
         * @return builder
         * 
         */
        public Builder policyName(String policyName) {
            return policyName(Output.of(policyName));
        }

        public MabContainerExtendedInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy