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

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

@CustomType
public final class AS2OneWayAgreementResponse {
    /**
     * @return The AS2 protocol settings.
     * 
     */
    private AS2ProtocolSettingsResponse protocolSettings;
    /**
     * @return The receiver business identity
     * 
     */
    private BusinessIdentityResponse receiverBusinessIdentity;
    /**
     * @return The sender business identity
     * 
     */
    private BusinessIdentityResponse senderBusinessIdentity;

    private AS2OneWayAgreementResponse() {}
    /**
     * @return The AS2 protocol settings.
     * 
     */
    public AS2ProtocolSettingsResponse protocolSettings() {
        return this.protocolSettings;
    }
    /**
     * @return The receiver business identity
     * 
     */
    public BusinessIdentityResponse receiverBusinessIdentity() {
        return this.receiverBusinessIdentity;
    }
    /**
     * @return The sender business identity
     * 
     */
    public BusinessIdentityResponse senderBusinessIdentity() {
        return this.senderBusinessIdentity;
    }

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

    public static Builder builder(AS2OneWayAgreementResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private AS2ProtocolSettingsResponse protocolSettings;
        private BusinessIdentityResponse receiverBusinessIdentity;
        private BusinessIdentityResponse senderBusinessIdentity;
        public Builder() {}
        public Builder(AS2OneWayAgreementResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.protocolSettings = defaults.protocolSettings;
    	      this.receiverBusinessIdentity = defaults.receiverBusinessIdentity;
    	      this.senderBusinessIdentity = defaults.senderBusinessIdentity;
        }

        @CustomType.Setter
        public Builder protocolSettings(AS2ProtocolSettingsResponse protocolSettings) {
            if (protocolSettings == null) {
              throw new MissingRequiredPropertyException("AS2OneWayAgreementResponse", "protocolSettings");
            }
            this.protocolSettings = protocolSettings;
            return this;
        }
        @CustomType.Setter
        public Builder receiverBusinessIdentity(BusinessIdentityResponse receiverBusinessIdentity) {
            if (receiverBusinessIdentity == null) {
              throw new MissingRequiredPropertyException("AS2OneWayAgreementResponse", "receiverBusinessIdentity");
            }
            this.receiverBusinessIdentity = receiverBusinessIdentity;
            return this;
        }
        @CustomType.Setter
        public Builder senderBusinessIdentity(BusinessIdentityResponse senderBusinessIdentity) {
            if (senderBusinessIdentity == null) {
              throw new MissingRequiredPropertyException("AS2OneWayAgreementResponse", "senderBusinessIdentity");
            }
            this.senderBusinessIdentity = senderBusinessIdentity;
            return this;
        }
        public AS2OneWayAgreementResponse build() {
            final var _resultValue = new AS2OneWayAgreementResponse();
            _resultValue.protocolSettings = protocolSettings;
            _resultValue.receiverBusinessIdentity = receiverBusinessIdentity;
            _resultValue.senderBusinessIdentity = senderBusinessIdentity;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy