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

com.pulumi.azure.dataprotection.inputs.BackupInstanceKubernetesClusterState Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.dataprotection.inputs;

import com.pulumi.azure.dataprotection.inputs.BackupInstanceKubernetesClusterBackupDatasourceParametersArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class BackupInstanceKubernetesClusterState extends com.pulumi.resources.ResourceArgs {

    public static final BackupInstanceKubernetesClusterState Empty = new BackupInstanceKubernetesClusterState();

    /**
     * A `backup_datasource_parameters` block as defined below.
     * 
     */
    @Import(name="backupDatasourceParameters")
    private @Nullable Output backupDatasourceParameters;

    /**
     * @return A `backup_datasource_parameters` block as defined below.
     * 
     */
    public Optional> backupDatasourceParameters() {
        return Optional.ofNullable(this.backupDatasourceParameters);
    }

    /**
     * The ID of the Backup Policy. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="backupPolicyId")
    private @Nullable Output backupPolicyId;

    /**
     * @return The ID of the Backup Policy. Changing this forces a new resource to be created.
     * 
     */
    public Optional> backupPolicyId() {
        return Optional.ofNullable(this.backupPolicyId);
    }

    /**
     * The ID of the Kubernetes Cluster. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="kubernetesClusterId")
    private @Nullable Output kubernetesClusterId;

    /**
     * @return The ID of the Kubernetes Cluster. Changing this forces a new resource to be created.
     * 
     */
    public Optional> kubernetesClusterId() {
        return Optional.ofNullable(this.kubernetesClusterId);
    }

    /**
     * The location of the Backup Instance Kubernetes Cluster. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The location of the Backup Instance Kubernetes Cluster. Changing this forces a new resource to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name which should be used for this Backup Instance Kubernetes Cluster. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Backup Instance Kubernetes Cluster. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name of the Resource Group where snapshots are stored. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="snapshotResourceGroupName")
    private @Nullable Output snapshotResourceGroupName;

    /**
     * @return The name of the Resource Group where snapshots are stored. Changing this forces a new resource to be created.
     * 
     */
    public Optional> snapshotResourceGroupName() {
        return Optional.ofNullable(this.snapshotResourceGroupName);
    }

    /**
     * The ID of the Backup Vault within which the Backup Instance Kubernetes Cluster should exist. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="vaultId")
    private @Nullable Output vaultId;

    /**
     * @return The ID of the Backup Vault within which the Backup Instance Kubernetes Cluster should exist. Changing this forces a new resource to be created.
     * 
     */
    public Optional> vaultId() {
        return Optional.ofNullable(this.vaultId);
    }

    private BackupInstanceKubernetesClusterState() {}

    private BackupInstanceKubernetesClusterState(BackupInstanceKubernetesClusterState $) {
        this.backupDatasourceParameters = $.backupDatasourceParameters;
        this.backupPolicyId = $.backupPolicyId;
        this.kubernetesClusterId = $.kubernetesClusterId;
        this.location = $.location;
        this.name = $.name;
        this.snapshotResourceGroupName = $.snapshotResourceGroupName;
        this.vaultId = $.vaultId;
    }

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

    public static final class Builder {
        private BackupInstanceKubernetesClusterState $;

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

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

        /**
         * @param backupDatasourceParameters A `backup_datasource_parameters` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder backupDatasourceParameters(@Nullable Output backupDatasourceParameters) {
            $.backupDatasourceParameters = backupDatasourceParameters;
            return this;
        }

        /**
         * @param backupDatasourceParameters A `backup_datasource_parameters` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder backupDatasourceParameters(BackupInstanceKubernetesClusterBackupDatasourceParametersArgs backupDatasourceParameters) {
            return backupDatasourceParameters(Output.of(backupDatasourceParameters));
        }

        /**
         * @param backupPolicyId The ID of the Backup Policy. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder backupPolicyId(@Nullable Output backupPolicyId) {
            $.backupPolicyId = backupPolicyId;
            return this;
        }

        /**
         * @param backupPolicyId The ID of the Backup Policy. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder backupPolicyId(String backupPolicyId) {
            return backupPolicyId(Output.of(backupPolicyId));
        }

        /**
         * @param kubernetesClusterId The ID of the Kubernetes Cluster. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder kubernetesClusterId(@Nullable Output kubernetesClusterId) {
            $.kubernetesClusterId = kubernetesClusterId;
            return this;
        }

        /**
         * @param kubernetesClusterId The ID of the Kubernetes Cluster. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder kubernetesClusterId(String kubernetesClusterId) {
            return kubernetesClusterId(Output.of(kubernetesClusterId));
        }

        /**
         * @param location The location of the Backup Instance Kubernetes Cluster. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The location of the Backup Instance Kubernetes Cluster. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name The name which should be used for this Backup Instance Kubernetes Cluster. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Backup Instance Kubernetes Cluster. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param snapshotResourceGroupName The name of the Resource Group where snapshots are stored. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder snapshotResourceGroupName(@Nullable Output snapshotResourceGroupName) {
            $.snapshotResourceGroupName = snapshotResourceGroupName;
            return this;
        }

        /**
         * @param snapshotResourceGroupName The name of the Resource Group where snapshots are stored. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder snapshotResourceGroupName(String snapshotResourceGroupName) {
            return snapshotResourceGroupName(Output.of(snapshotResourceGroupName));
        }

        /**
         * @param vaultId The ID of the Backup Vault within which the Backup Instance Kubernetes Cluster should exist. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder vaultId(@Nullable Output vaultId) {
            $.vaultId = vaultId;
            return this;
        }

        /**
         * @param vaultId The ID of the Backup Vault within which the Backup Instance Kubernetes Cluster should exist. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder vaultId(String vaultId) {
            return vaultId(Output.of(vaultId));
        }

        public BackupInstanceKubernetesClusterState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy