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

com.pulumi.azurenative.logic.inputs.AgreementContentArgs 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.azurenative.logic.inputs.AS2AgreementContentArgs;
import com.pulumi.azurenative.logic.inputs.EdifactAgreementContentArgs;
import com.pulumi.azurenative.logic.inputs.X12AgreementContentArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The integration account agreement content.
 * 
 */
public final class AgreementContentArgs extends com.pulumi.resources.ResourceArgs {

    public static final AgreementContentArgs Empty = new AgreementContentArgs();

    /**
     * The AS2 agreement content.
     * 
     */
    @Import(name="aS2")
    private @Nullable Output aS2;

    /**
     * @return The AS2 agreement content.
     * 
     */
    public Optional> aS2() {
        return Optional.ofNullable(this.aS2);
    }

    /**
     * The EDIFACT agreement content.
     * 
     */
    @Import(name="edifact")
    private @Nullable Output edifact;

    /**
     * @return The EDIFACT agreement content.
     * 
     */
    public Optional> edifact() {
        return Optional.ofNullable(this.edifact);
    }

    /**
     * The X12 agreement content.
     * 
     */
    @Import(name="x12")
    private @Nullable Output x12;

    /**
     * @return The X12 agreement content.
     * 
     */
    public Optional> x12() {
        return Optional.ofNullable(this.x12);
    }

    private AgreementContentArgs() {}

    private AgreementContentArgs(AgreementContentArgs $) {
        this.aS2 = $.aS2;
        this.edifact = $.edifact;
        this.x12 = $.x12;
    }

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

    public static final class Builder {
        private AgreementContentArgs $;

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

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

        /**
         * @param aS2 The AS2 agreement content.
         * 
         * @return builder
         * 
         */
        public Builder aS2(@Nullable Output aS2) {
            $.aS2 = aS2;
            return this;
        }

        /**
         * @param aS2 The AS2 agreement content.
         * 
         * @return builder
         * 
         */
        public Builder aS2(AS2AgreementContentArgs aS2) {
            return aS2(Output.of(aS2));
        }

        /**
         * @param edifact The EDIFACT agreement content.
         * 
         * @return builder
         * 
         */
        public Builder edifact(@Nullable Output edifact) {
            $.edifact = edifact;
            return this;
        }

        /**
         * @param edifact The EDIFACT agreement content.
         * 
         * @return builder
         * 
         */
        public Builder edifact(EdifactAgreementContentArgs edifact) {
            return edifact(Output.of(edifact));
        }

        /**
         * @param x12 The X12 agreement content.
         * 
         * @return builder
         * 
         */
        public Builder x12(@Nullable Output x12) {
            $.x12 = x12;
            return this;
        }

        /**
         * @param x12 The X12 agreement content.
         * 
         * @return builder
         * 
         */
        public Builder x12(X12AgreementContentArgs x12) {
            return x12(Output.of(x12));
        }

        public AgreementContentArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy