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

com.pulumi.azurenative.logic.inputs.EdifactSchemaReferenceArgs 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.inputs;

import com.pulumi.core.Output;
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;


/**
 * The Edifact schema reference.
 * 
 */
public final class EdifactSchemaReferenceArgs extends com.pulumi.resources.ResourceArgs {

    public static final EdifactSchemaReferenceArgs Empty = new EdifactSchemaReferenceArgs();

    /**
     * The association assigned code.
     * 
     */
    @Import(name="associationAssignedCode")
    private @Nullable Output associationAssignedCode;

    /**
     * @return The association assigned code.
     * 
     */
    public Optional> associationAssignedCode() {
        return Optional.ofNullable(this.associationAssignedCode);
    }

    /**
     * The message id.
     * 
     */
    @Import(name="messageId", required=true)
    private Output messageId;

    /**
     * @return The message id.
     * 
     */
    public Output messageId() {
        return this.messageId;
    }

    /**
     * The message release version.
     * 
     */
    @Import(name="messageRelease", required=true)
    private Output messageRelease;

    /**
     * @return The message release version.
     * 
     */
    public Output messageRelease() {
        return this.messageRelease;
    }

    /**
     * The message version.
     * 
     */
    @Import(name="messageVersion", required=true)
    private Output messageVersion;

    /**
     * @return The message version.
     * 
     */
    public Output messageVersion() {
        return this.messageVersion;
    }

    /**
     * The schema name.
     * 
     */
    @Import(name="schemaName", required=true)
    private Output schemaName;

    /**
     * @return The schema name.
     * 
     */
    public Output schemaName() {
        return this.schemaName;
    }

    /**
     * The sender application id.
     * 
     */
    @Import(name="senderApplicationId")
    private @Nullable Output senderApplicationId;

    /**
     * @return The sender application id.
     * 
     */
    public Optional> senderApplicationId() {
        return Optional.ofNullable(this.senderApplicationId);
    }

    /**
     * The sender application qualifier.
     * 
     */
    @Import(name="senderApplicationQualifier")
    private @Nullable Output senderApplicationQualifier;

    /**
     * @return The sender application qualifier.
     * 
     */
    public Optional> senderApplicationQualifier() {
        return Optional.ofNullable(this.senderApplicationQualifier);
    }

    private EdifactSchemaReferenceArgs() {}

    private EdifactSchemaReferenceArgs(EdifactSchemaReferenceArgs $) {
        this.associationAssignedCode = $.associationAssignedCode;
        this.messageId = $.messageId;
        this.messageRelease = $.messageRelease;
        this.messageVersion = $.messageVersion;
        this.schemaName = $.schemaName;
        this.senderApplicationId = $.senderApplicationId;
        this.senderApplicationQualifier = $.senderApplicationQualifier;
    }

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

    public static final class Builder {
        private EdifactSchemaReferenceArgs $;

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

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

        /**
         * @param associationAssignedCode The association assigned code.
         * 
         * @return builder
         * 
         */
        public Builder associationAssignedCode(@Nullable Output associationAssignedCode) {
            $.associationAssignedCode = associationAssignedCode;
            return this;
        }

        /**
         * @param associationAssignedCode The association assigned code.
         * 
         * @return builder
         * 
         */
        public Builder associationAssignedCode(String associationAssignedCode) {
            return associationAssignedCode(Output.of(associationAssignedCode));
        }

        /**
         * @param messageId The message id.
         * 
         * @return builder
         * 
         */
        public Builder messageId(Output messageId) {
            $.messageId = messageId;
            return this;
        }

        /**
         * @param messageId The message id.
         * 
         * @return builder
         * 
         */
        public Builder messageId(String messageId) {
            return messageId(Output.of(messageId));
        }

        /**
         * @param messageRelease The message release version.
         * 
         * @return builder
         * 
         */
        public Builder messageRelease(Output messageRelease) {
            $.messageRelease = messageRelease;
            return this;
        }

        /**
         * @param messageRelease The message release version.
         * 
         * @return builder
         * 
         */
        public Builder messageRelease(String messageRelease) {
            return messageRelease(Output.of(messageRelease));
        }

        /**
         * @param messageVersion The message version.
         * 
         * @return builder
         * 
         */
        public Builder messageVersion(Output messageVersion) {
            $.messageVersion = messageVersion;
            return this;
        }

        /**
         * @param messageVersion The message version.
         * 
         * @return builder
         * 
         */
        public Builder messageVersion(String messageVersion) {
            return messageVersion(Output.of(messageVersion));
        }

        /**
         * @param schemaName The schema name.
         * 
         * @return builder
         * 
         */
        public Builder schemaName(Output schemaName) {
            $.schemaName = schemaName;
            return this;
        }

        /**
         * @param schemaName The schema name.
         * 
         * @return builder
         * 
         */
        public Builder schemaName(String schemaName) {
            return schemaName(Output.of(schemaName));
        }

        /**
         * @param senderApplicationId The sender application id.
         * 
         * @return builder
         * 
         */
        public Builder senderApplicationId(@Nullable Output senderApplicationId) {
            $.senderApplicationId = senderApplicationId;
            return this;
        }

        /**
         * @param senderApplicationId The sender application id.
         * 
         * @return builder
         * 
         */
        public Builder senderApplicationId(String senderApplicationId) {
            return senderApplicationId(Output.of(senderApplicationId));
        }

        /**
         * @param senderApplicationQualifier The sender application qualifier.
         * 
         * @return builder
         * 
         */
        public Builder senderApplicationQualifier(@Nullable Output senderApplicationQualifier) {
            $.senderApplicationQualifier = senderApplicationQualifier;
            return this;
        }

        /**
         * @param senderApplicationQualifier The sender application qualifier.
         * 
         * @return builder
         * 
         */
        public Builder senderApplicationQualifier(String senderApplicationQualifier) {
            return senderApplicationQualifier(Output.of(senderApplicationQualifier));
        }

        public EdifactSchemaReferenceArgs build() {
            if ($.messageId == null) {
                throw new MissingRequiredPropertyException("EdifactSchemaReferenceArgs", "messageId");
            }
            if ($.messageRelease == null) {
                throw new MissingRequiredPropertyException("EdifactSchemaReferenceArgs", "messageRelease");
            }
            if ($.messageVersion == null) {
                throw new MissingRequiredPropertyException("EdifactSchemaReferenceArgs", "messageVersion");
            }
            if ($.schemaName == null) {
                throw new MissingRequiredPropertyException("EdifactSchemaReferenceArgs", "schemaName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy