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

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

There is a newer version: 2.72.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.inputs.AADProperties;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetRecoveryPointAccessTokenPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetRecoveryPointAccessTokenPlainArgs Empty = new GetRecoveryPointAccessTokenPlainArgs();

    /**
     * Name of the container.
     * 
     */
    @Import(name="containerName", required=true)
    private String containerName;

    /**
     * @return Name of the container.
     * 
     */
    public String containerName() {
        return this.containerName;
    }

    /**
     * Optional ETag.
     * 
     */
    @Import(name="eTag")
    private @Nullable String eTag;

    /**
     * @return Optional ETag.
     * 
     */
    public Optional eTag() {
        return Optional.ofNullable(this.eTag);
    }

    /**
     * Fabric name associated with the container.
     * 
     */
    @Import(name="fabricName", required=true)
    private String fabricName;

    /**
     * @return Fabric name associated with the container.
     * 
     */
    public String fabricName() {
        return this.fabricName;
    }

    /**
     * Resource location.
     * 
     */
    @Import(name="location")
    private @Nullable String location;

    /**
     * @return Resource location.
     * 
     */
    public Optional location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * AADPropertiesResource properties
     * 
     */
    @Import(name="properties")
    private @Nullable AADProperties properties;

    /**
     * @return AADPropertiesResource properties
     * 
     */
    public Optional properties() {
        return Optional.ofNullable(this.properties);
    }

    /**
     * Name of the Protected Item.
     * 
     */
    @Import(name="protectedItemName", required=true)
    private String protectedItemName;

    /**
     * @return Name of the Protected Item.
     * 
     */
    public String protectedItemName() {
        return this.protectedItemName;
    }

    /**
     * Recovery Point Id
     * 
     */
    @Import(name="recoveryPointId", required=true)
    private String recoveryPointId;

    /**
     * @return Recovery Point Id
     * 
     */
    public String recoveryPointId() {
        return this.recoveryPointId;
    }

    /**
     * The name of the resource group where the recovery services vault is present.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group where the recovery services vault is present.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Map tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * The name of the recovery services vault.
     * 
     */
    @Import(name="vaultName", required=true)
    private String vaultName;

    /**
     * @return The name of the recovery services vault.
     * 
     */
    public String vaultName() {
        return this.vaultName;
    }

    private GetRecoveryPointAccessTokenPlainArgs() {}

    private GetRecoveryPointAccessTokenPlainArgs(GetRecoveryPointAccessTokenPlainArgs $) {
        this.containerName = $.containerName;
        this.eTag = $.eTag;
        this.fabricName = $.fabricName;
        this.location = $.location;
        this.properties = $.properties;
        this.protectedItemName = $.protectedItemName;
        this.recoveryPointId = $.recoveryPointId;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.vaultName = $.vaultName;
    }

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

    public static final class Builder {
        private GetRecoveryPointAccessTokenPlainArgs $;

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

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

        /**
         * @param containerName Name of the container.
         * 
         * @return builder
         * 
         */
        public Builder containerName(String containerName) {
            $.containerName = containerName;
            return this;
        }

        /**
         * @param eTag Optional ETag.
         * 
         * @return builder
         * 
         */
        public Builder eTag(@Nullable String eTag) {
            $.eTag = eTag;
            return this;
        }

        /**
         * @param fabricName Fabric name associated with the container.
         * 
         * @return builder
         * 
         */
        public Builder fabricName(String fabricName) {
            $.fabricName = fabricName;
            return this;
        }

        /**
         * @param location Resource location.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable String location) {
            $.location = location;
            return this;
        }

        /**
         * @param properties AADPropertiesResource properties
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable AADProperties properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param protectedItemName Name of the Protected Item.
         * 
         * @return builder
         * 
         */
        public Builder protectedItemName(String protectedItemName) {
            $.protectedItemName = protectedItemName;
            return this;
        }

        /**
         * @param recoveryPointId Recovery Point Id
         * 
         * @return builder
         * 
         */
        public Builder recoveryPointId(String recoveryPointId) {
            $.recoveryPointId = recoveryPointId;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group where the recovery services vault is present.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param vaultName The name of the recovery services vault.
         * 
         * @return builder
         * 
         */
        public Builder vaultName(String vaultName) {
            $.vaultName = vaultName;
            return this;
        }

        public GetRecoveryPointAccessTokenPlainArgs build() {
            if ($.containerName == null) {
                throw new MissingRequiredPropertyException("GetRecoveryPointAccessTokenPlainArgs", "containerName");
            }
            if ($.fabricName == null) {
                throw new MissingRequiredPropertyException("GetRecoveryPointAccessTokenPlainArgs", "fabricName");
            }
            if ($.protectedItemName == null) {
                throw new MissingRequiredPropertyException("GetRecoveryPointAccessTokenPlainArgs", "protectedItemName");
            }
            if ($.recoveryPointId == null) {
                throw new MissingRequiredPropertyException("GetRecoveryPointAccessTokenPlainArgs", "recoveryPointId");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetRecoveryPointAccessTokenPlainArgs", "resourceGroupName");
            }
            if ($.vaultName == null) {
                throw new MissingRequiredPropertyException("GetRecoveryPointAccessTokenPlainArgs", "vaultName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy