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

com.pulumi.azurenative.logic.outputs.X12AgreementContentResponse 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.azurenative.logic.outputs.X12OneWayAgreementResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;

@CustomType
public final class X12AgreementContentResponse {
    /**
     * @return The X12 one-way receive agreement.
     * 
     */
    private X12OneWayAgreementResponse receiveAgreement;
    /**
     * @return The X12 one-way send agreement.
     * 
     */
    private X12OneWayAgreementResponse sendAgreement;

    private X12AgreementContentResponse() {}
    /**
     * @return The X12 one-way receive agreement.
     * 
     */
    public X12OneWayAgreementResponse receiveAgreement() {
        return this.receiveAgreement;
    }
    /**
     * @return The X12 one-way send agreement.
     * 
     */
    public X12OneWayAgreementResponse sendAgreement() {
        return this.sendAgreement;
    }

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

    public static Builder builder(X12AgreementContentResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private X12OneWayAgreementResponse receiveAgreement;
        private X12OneWayAgreementResponse sendAgreement;
        public Builder() {}
        public Builder(X12AgreementContentResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.receiveAgreement = defaults.receiveAgreement;
    	      this.sendAgreement = defaults.sendAgreement;
        }

        @CustomType.Setter
        public Builder receiveAgreement(X12OneWayAgreementResponse receiveAgreement) {
            if (receiveAgreement == null) {
              throw new MissingRequiredPropertyException("X12AgreementContentResponse", "receiveAgreement");
            }
            this.receiveAgreement = receiveAgreement;
            return this;
        }
        @CustomType.Setter
        public Builder sendAgreement(X12OneWayAgreementResponse sendAgreement) {
            if (sendAgreement == null) {
              throw new MissingRequiredPropertyException("X12AgreementContentResponse", "sendAgreement");
            }
            this.sendAgreement = sendAgreement;
            return this;
        }
        public X12AgreementContentResponse build() {
            final var _resultValue = new X12AgreementContentResponse();
            _resultValue.receiveAgreement = receiveAgreement;
            _resultValue.sendAgreement = sendAgreement;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy