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

com.pulumi.azurenative.logic.outputs.RosettaNetPipBusinessDocumentResponse 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.logic.outputs;

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

@CustomType
public final class RosettaNetPipBusinessDocumentResponse {
    /**
     * @return The business document description.
     * 
     */
    private @Nullable String description;
    /**
     * @return The business document name.
     * 
     */
    private String name;
    /**
     * @return The business document version.
     * 
     */
    private String version;

    private RosettaNetPipBusinessDocumentResponse() {}
    /**
     * @return The business document description.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The business document name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The business document version.
     * 
     */
    public String version() {
        return this.version;
    }

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

    public static Builder builder(RosettaNetPipBusinessDocumentResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String description;
        private String name;
        private String version;
        public Builder() {}
        public Builder(RosettaNetPipBusinessDocumentResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.name = defaults.name;
    	      this.version = defaults.version;
        }

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

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("RosettaNetPipBusinessDocumentResponse", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder version(String version) {
            if (version == null) {
              throw new MissingRequiredPropertyException("RosettaNetPipBusinessDocumentResponse", "version");
            }
            this.version = version;
            return this;
        }
        public RosettaNetPipBusinessDocumentResponse build() {
            final var _resultValue = new RosettaNetPipBusinessDocumentResponse();
            _resultValue.description = description;
            _resultValue.name = name;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy