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

com.pulumi.azurenative.azuredatatransfer.inputs.ListListSchemaPlainArgs 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.azuredatatransfer.inputs;

import com.pulumi.azurenative.azuredatatransfer.enums.SchemaStatus;
import com.pulumi.core.Either;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ListListSchemaPlainArgs Empty = new ListListSchemaPlainArgs();

    /**
     * Connection ID associated with this schema
     * 
     */
    @Import(name="connectionId")
    private @Nullable String connectionId;

    /**
     * @return Connection ID associated with this schema
     * 
     */
    public Optional connectionId() {
        return Optional.ofNullable(this.connectionId);
    }

    /**
     * Content of the schema
     * 
     */
    @Import(name="content")
    private @Nullable String content;

    /**
     * @return Content of the schema
     * 
     */
    public Optional content() {
        return Optional.ofNullable(this.content);
    }

    /**
     * ID associated with this schema
     * 
     */
    @Import(name="id")
    private @Nullable String id;

    /**
     * @return ID associated with this schema
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Name of the schema
     * 
     */
    @Import(name="name")
    private @Nullable String name;

    /**
     * @return Name of the schema
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name for the pipeline that is to be requested.
     * 
     */
    @Import(name="pipelineName", required=true)
    private String pipelineName;

    /**
     * @return The name for the pipeline that is to be requested.
     * 
     */
    public String pipelineName() {
        return this.pipelineName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Status of the schema
     * 
     */
    @Import(name="status")
    private @Nullable Either status;

    /**
     * @return Status of the schema
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private ListListSchemaPlainArgs() {}

    private ListListSchemaPlainArgs(ListListSchemaPlainArgs $) {
        this.connectionId = $.connectionId;
        this.content = $.content;
        this.id = $.id;
        this.name = $.name;
        this.pipelineName = $.pipelineName;
        this.resourceGroupName = $.resourceGroupName;
        this.status = $.status;
    }

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

    public static final class Builder {
        private ListListSchemaPlainArgs $;

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

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

        /**
         * @param connectionId Connection ID associated with this schema
         * 
         * @return builder
         * 
         */
        public Builder connectionId(@Nullable String connectionId) {
            $.connectionId = connectionId;
            return this;
        }

        /**
         * @param content Content of the schema
         * 
         * @return builder
         * 
         */
        public Builder content(@Nullable String content) {
            $.content = content;
            return this;
        }

        /**
         * @param id ID associated with this schema
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable String id) {
            $.id = id;
            return this;
        }

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

        /**
         * @param pipelineName The name for the pipeline that is to be requested.
         * 
         * @return builder
         * 
         */
        public Builder pipelineName(String pipelineName) {
            $.pipelineName = pipelineName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param status Status of the schema
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Either status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Status of the schema
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Either.ofLeft(status));
        }

        /**
         * @param status Status of the schema
         * 
         * @return builder
         * 
         */
        public Builder status(SchemaStatus status) {
            return status(Either.ofRight(status));
        }

        public ListListSchemaPlainArgs build() {
            if ($.pipelineName == null) {
                throw new MissingRequiredPropertyException("ListListSchemaPlainArgs", "pipelineName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ListListSchemaPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy