com.pulumi.azurenative.logic.inputs.EdifactOneWayAgreementArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
The 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.BusinessIdentityArgs;
import com.pulumi.azurenative.logic.inputs.EdifactProtocolSettingsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
/**
* The Edifact one way agreement.
*
*/
public final class EdifactOneWayAgreementArgs extends com.pulumi.resources.ResourceArgs {
public static final EdifactOneWayAgreementArgs Empty = new EdifactOneWayAgreementArgs();
/**
* The EDIFACT protocol settings.
*
*/
@Import(name="protocolSettings", required=true)
private Output protocolSettings;
/**
* @return The EDIFACT protocol settings.
*
*/
public Output protocolSettings() {
return this.protocolSettings;
}
/**
* The receiver business identity
*
*/
@Import(name="receiverBusinessIdentity", required=true)
private Output receiverBusinessIdentity;
/**
* @return The receiver business identity
*
*/
public Output receiverBusinessIdentity() {
return this.receiverBusinessIdentity;
}
/**
* The sender business identity
*
*/
@Import(name="senderBusinessIdentity", required=true)
private Output senderBusinessIdentity;
/**
* @return The sender business identity
*
*/
public Output senderBusinessIdentity() {
return this.senderBusinessIdentity;
}
private EdifactOneWayAgreementArgs() {}
private EdifactOneWayAgreementArgs(EdifactOneWayAgreementArgs $) {
this.protocolSettings = $.protocolSettings;
this.receiverBusinessIdentity = $.receiverBusinessIdentity;
this.senderBusinessIdentity = $.senderBusinessIdentity;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EdifactOneWayAgreementArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private EdifactOneWayAgreementArgs $;
public Builder() {
$ = new EdifactOneWayAgreementArgs();
}
public Builder(EdifactOneWayAgreementArgs defaults) {
$ = new EdifactOneWayAgreementArgs(Objects.requireNonNull(defaults));
}
/**
* @param protocolSettings The EDIFACT protocol settings.
*
* @return builder
*
*/
public Builder protocolSettings(Output protocolSettings) {
$.protocolSettings = protocolSettings;
return this;
}
/**
* @param protocolSettings The EDIFACT protocol settings.
*
* @return builder
*
*/
public Builder protocolSettings(EdifactProtocolSettingsArgs protocolSettings) {
return protocolSettings(Output.of(protocolSettings));
}
/**
* @param receiverBusinessIdentity The receiver business identity
*
* @return builder
*
*/
public Builder receiverBusinessIdentity(Output receiverBusinessIdentity) {
$.receiverBusinessIdentity = receiverBusinessIdentity;
return this;
}
/**
* @param receiverBusinessIdentity The receiver business identity
*
* @return builder
*
*/
public Builder receiverBusinessIdentity(BusinessIdentityArgs receiverBusinessIdentity) {
return receiverBusinessIdentity(Output.of(receiverBusinessIdentity));
}
/**
* @param senderBusinessIdentity The sender business identity
*
* @return builder
*
*/
public Builder senderBusinessIdentity(Output senderBusinessIdentity) {
$.senderBusinessIdentity = senderBusinessIdentity;
return this;
}
/**
* @param senderBusinessIdentity The sender business identity
*
* @return builder
*
*/
public Builder senderBusinessIdentity(BusinessIdentityArgs senderBusinessIdentity) {
return senderBusinessIdentity(Output.of(senderBusinessIdentity));
}
public EdifactOneWayAgreementArgs build() {
if ($.protocolSettings == null) {
throw new MissingRequiredPropertyException("EdifactOneWayAgreementArgs", "protocolSettings");
}
if ($.receiverBusinessIdentity == null) {
throw new MissingRequiredPropertyException("EdifactOneWayAgreementArgs", "receiverBusinessIdentity");
}
if ($.senderBusinessIdentity == null) {
throw new MissingRequiredPropertyException("EdifactOneWayAgreementArgs", "senderBusinessIdentity");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy