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

com.pulumi.azurenative.azuredatatransfer.outputs.SchemaResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class SchemaResponse {
    /**
     * @return Connection ID associated with this schema
     * 
     */
    private @Nullable String connectionId;
    /**
     * @return Content of the schema
     * 
     */
    private @Nullable String content;
    /**
     * @return ID associated with this schema
     * 
     */
    private @Nullable String id;
    /**
     * @return Name of the schema
     * 
     */
    private @Nullable String name;
    /**
     * @return Status of the schema
     * 
     */
    private @Nullable String status;

    private SchemaResponse() {}
    /**
     * @return Connection ID associated with this schema
     * 
     */
    public Optional connectionId() {
        return Optional.ofNullable(this.connectionId);
    }
    /**
     * @return Content of the schema
     * 
     */
    public Optional content() {
        return Optional.ofNullable(this.content);
    }
    /**
     * @return ID associated with this schema
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }
    /**
     * @return Name of the schema
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return Status of the schema
     * 
     */
    public Optional status() {
        return Optional.ofNullable(this.status);
    }

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

    public static Builder builder(SchemaResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String connectionId;
        private @Nullable String content;
        private @Nullable String id;
        private @Nullable String name;
        private @Nullable String status;
        public Builder() {}
        public Builder(SchemaResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.connectionId = defaults.connectionId;
    	      this.content = defaults.content;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.status = defaults.status;
        }

        @CustomType.Setter
        public Builder connectionId(@Nullable String connectionId) {

            this.connectionId = connectionId;
            return this;
        }
        @CustomType.Setter
        public Builder content(@Nullable String content) {

            this.content = content;
            return this;
        }
        @CustomType.Setter
        public Builder id(@Nullable String id) {

            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder status(@Nullable String status) {

            this.status = status;
            return this;
        }
        public SchemaResponse build() {
            final var _resultValue = new SchemaResponse();
            _resultValue.connectionId = connectionId;
            _resultValue.content = content;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.status = status;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy