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

com.pulumi.azurenative.logic.outputs.X12SchemaReferenceResponse 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.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 X12SchemaReferenceResponse {
    /**
     * @return The message id.
     * 
     */
    private String messageId;
    /**
     * @return The schema name.
     * 
     */
    private String schemaName;
    /**
     * @return The schema version.
     * 
     */
    private String schemaVersion;
    /**
     * @return The sender application id.
     * 
     */
    private @Nullable String senderApplicationId;

    private X12SchemaReferenceResponse() {}
    /**
     * @return The message id.
     * 
     */
    public String messageId() {
        return this.messageId;
    }
    /**
     * @return The schema name.
     * 
     */
    public String schemaName() {
        return this.schemaName;
    }
    /**
     * @return The schema version.
     * 
     */
    public String schemaVersion() {
        return this.schemaVersion;
    }
    /**
     * @return The sender application id.
     * 
     */
    public Optional senderApplicationId() {
        return Optional.ofNullable(this.senderApplicationId);
    }

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

    public static Builder builder(X12SchemaReferenceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String messageId;
        private String schemaName;
        private String schemaVersion;
        private @Nullable String senderApplicationId;
        public Builder() {}
        public Builder(X12SchemaReferenceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.messageId = defaults.messageId;
    	      this.schemaName = defaults.schemaName;
    	      this.schemaVersion = defaults.schemaVersion;
    	      this.senderApplicationId = defaults.senderApplicationId;
        }

        @CustomType.Setter
        public Builder messageId(String messageId) {
            if (messageId == null) {
              throw new MissingRequiredPropertyException("X12SchemaReferenceResponse", "messageId");
            }
            this.messageId = messageId;
            return this;
        }
        @CustomType.Setter
        public Builder schemaName(String schemaName) {
            if (schemaName == null) {
              throw new MissingRequiredPropertyException("X12SchemaReferenceResponse", "schemaName");
            }
            this.schemaName = schemaName;
            return this;
        }
        @CustomType.Setter
        public Builder schemaVersion(String schemaVersion) {
            if (schemaVersion == null) {
              throw new MissingRequiredPropertyException("X12SchemaReferenceResponse", "schemaVersion");
            }
            this.schemaVersion = schemaVersion;
            return this;
        }
        @CustomType.Setter
        public Builder senderApplicationId(@Nullable String senderApplicationId) {

            this.senderApplicationId = senderApplicationId;
            return this;
        }
        public X12SchemaReferenceResponse build() {
            final var _resultValue = new X12SchemaReferenceResponse();
            _resultValue.messageId = messageId;
            _resultValue.schemaName = schemaName;
            _resultValue.schemaVersion = schemaVersion;
            _resultValue.senderApplicationId = senderApplicationId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy