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

com.pulumi.azure.storage.inputs.MoverSourceEndpointState 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.storage.inputs;

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 MoverSourceEndpointState extends com.pulumi.resources.ResourceArgs {

    public static final MoverSourceEndpointState Empty = new MoverSourceEndpointState();

    /**
     * Specifies a description for the Storage Mover Source Endpoint.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Specifies a description for the Storage Mover Source Endpoint.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Specifies the directory being exported from the server. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="export")
    private @Nullable Output export;

    /**
     * @return Specifies the directory being exported from the server. Changing this forces a new resource to be created.
     * 
     */
    public Optional> export() {
        return Optional.ofNullable(this.export);
    }

    /**
     * Specifies the host name or IP address of the server exporting the file system. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="host")
    private @Nullable Output host;

    /**
     * @return Specifies the host name or IP address of the server exporting the file system. Changing this forces a new resource to be created.
     * 
     */
    public Optional> host() {
        return Optional.ofNullable(this.host);
    }

    /**
     * Specifies the name which should be used for this Storage Mover Source Endpoint. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name which should be used for this Storage Mover Source Endpoint. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specifies the NFS protocol version. Possible values are `NFSauto`, `NFSv3` and `NFSv4`. Defaults to `NFSauto`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="nfsVersion")
    private @Nullable Output nfsVersion;

    /**
     * @return Specifies the NFS protocol version. Possible values are `NFSauto`, `NFSv3` and `NFSv4`. Defaults to `NFSauto`. Changing this forces a new resource to be created.
     * 
     */
    public Optional> nfsVersion() {
        return Optional.ofNullable(this.nfsVersion);
    }

    /**
     * Specifies the ID of the Storage Mover for this Storage Mover Source Endpoint. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="storageMoverId")
    private @Nullable Output storageMoverId;

    /**
     * @return Specifies the ID of the Storage Mover for this Storage Mover Source Endpoint. Changing this forces a new resource to be created.
     * 
     */
    public Optional> storageMoverId() {
        return Optional.ofNullable(this.storageMoverId);
    }

    private MoverSourceEndpointState() {}

    private MoverSourceEndpointState(MoverSourceEndpointState $) {
        this.description = $.description;
        this.export = $.export;
        this.host = $.host;
        this.name = $.name;
        this.nfsVersion = $.nfsVersion;
        this.storageMoverId = $.storageMoverId;
    }

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

    public static final class Builder {
        private MoverSourceEndpointState $;

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

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

        /**
         * @param description Specifies a description for the Storage Mover Source Endpoint.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Specifies a description for the Storage Mover Source Endpoint.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param export Specifies the directory being exported from the server. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder export(@Nullable Output export) {
            $.export = export;
            return this;
        }

        /**
         * @param export Specifies the directory being exported from the server. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder export(String export) {
            return export(Output.of(export));
        }

        /**
         * @param host Specifies the host name or IP address of the server exporting the file system. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder host(@Nullable Output host) {
            $.host = host;
            return this;
        }

        /**
         * @param host Specifies the host name or IP address of the server exporting the file system. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder host(String host) {
            return host(Output.of(host));
        }

        /**
         * @param name Specifies the name which should be used for this Storage Mover Source Endpoint. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name which should be used for this Storage Mover Source Endpoint. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param nfsVersion Specifies the NFS protocol version. Possible values are `NFSauto`, `NFSv3` and `NFSv4`. Defaults to `NFSauto`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder nfsVersion(@Nullable Output nfsVersion) {
            $.nfsVersion = nfsVersion;
            return this;
        }

        /**
         * @param nfsVersion Specifies the NFS protocol version. Possible values are `NFSauto`, `NFSv3` and `NFSv4`. Defaults to `NFSauto`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder nfsVersion(String nfsVersion) {
            return nfsVersion(Output.of(nfsVersion));
        }

        /**
         * @param storageMoverId Specifies the ID of the Storage Mover for this Storage Mover Source Endpoint. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder storageMoverId(@Nullable Output storageMoverId) {
            $.storageMoverId = storageMoverId;
            return this;
        }

        /**
         * @param storageMoverId Specifies the ID of the Storage Mover for this Storage Mover Source Endpoint. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder storageMoverId(String storageMoverId) {
            return storageMoverId(Output.of(storageMoverId));
        }

        public MoverSourceEndpointState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy