
com.pulumi.azurenative.logic.inputs.X12ValidationSettingsArgs 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.
// *** 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.enums.TrailingSeparatorPolicy;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
/**
* The X12 agreement validation settings.
*
*/
public final class X12ValidationSettingsArgs extends com.pulumi.resources.ResourceArgs {
public static final X12ValidationSettingsArgs Empty = new X12ValidationSettingsArgs();
/**
* The value indicating whether to allow leading and trailing spaces and zeroes.
*
*/
@Import(name="allowLeadingAndTrailingSpacesAndZeroes", required=true)
private Output allowLeadingAndTrailingSpacesAndZeroes;
/**
* @return The value indicating whether to allow leading and trailing spaces and zeroes.
*
*/
public Output allowLeadingAndTrailingSpacesAndZeroes() {
return this.allowLeadingAndTrailingSpacesAndZeroes;
}
/**
* The value indicating whether to check for duplicate group control number.
*
*/
@Import(name="checkDuplicateGroupControlNumber", required=true)
private Output checkDuplicateGroupControlNumber;
/**
* @return The value indicating whether to check for duplicate group control number.
*
*/
public Output checkDuplicateGroupControlNumber() {
return this.checkDuplicateGroupControlNumber;
}
/**
* The value indicating whether to check for duplicate interchange control number.
*
*/
@Import(name="checkDuplicateInterchangeControlNumber", required=true)
private Output checkDuplicateInterchangeControlNumber;
/**
* @return The value indicating whether to check for duplicate interchange control number.
*
*/
public Output checkDuplicateInterchangeControlNumber() {
return this.checkDuplicateInterchangeControlNumber;
}
/**
* The value indicating whether to check for duplicate transaction set control number.
*
*/
@Import(name="checkDuplicateTransactionSetControlNumber", required=true)
private Output checkDuplicateTransactionSetControlNumber;
/**
* @return The value indicating whether to check for duplicate transaction set control number.
*
*/
public Output checkDuplicateTransactionSetControlNumber() {
return this.checkDuplicateTransactionSetControlNumber;
}
/**
* The validity period of interchange control number.
*
*/
@Import(name="interchangeControlNumberValidityDays", required=true)
private Output interchangeControlNumberValidityDays;
/**
* @return The validity period of interchange control number.
*
*/
public Output interchangeControlNumberValidityDays() {
return this.interchangeControlNumberValidityDays;
}
/**
* The trailing separator policy.
*
*/
@Import(name="trailingSeparatorPolicy", required=true)
private Output> trailingSeparatorPolicy;
/**
* @return The trailing separator policy.
*
*/
public Output> trailingSeparatorPolicy() {
return this.trailingSeparatorPolicy;
}
/**
* The value indicating whether to trim leading and trailing spaces and zeroes.
*
*/
@Import(name="trimLeadingAndTrailingSpacesAndZeroes", required=true)
private Output trimLeadingAndTrailingSpacesAndZeroes;
/**
* @return The value indicating whether to trim leading and trailing spaces and zeroes.
*
*/
public Output trimLeadingAndTrailingSpacesAndZeroes() {
return this.trimLeadingAndTrailingSpacesAndZeroes;
}
/**
* The value indicating whether to validate character set in the message.
*
*/
@Import(name="validateCharacterSet", required=true)
private Output validateCharacterSet;
/**
* @return The value indicating whether to validate character set in the message.
*
*/
public Output validateCharacterSet() {
return this.validateCharacterSet;
}
/**
* The value indicating whether to Whether to validate EDI types.
*
*/
@Import(name="validateEDITypes", required=true)
private Output validateEDITypes;
/**
* @return The value indicating whether to Whether to validate EDI types.
*
*/
public Output validateEDITypes() {
return this.validateEDITypes;
}
/**
* The value indicating whether to Whether to validate XSD types.
*
*/
@Import(name="validateXSDTypes", required=true)
private Output validateXSDTypes;
/**
* @return The value indicating whether to Whether to validate XSD types.
*
*/
public Output validateXSDTypes() {
return this.validateXSDTypes;
}
private X12ValidationSettingsArgs() {}
private X12ValidationSettingsArgs(X12ValidationSettingsArgs $) {
this.allowLeadingAndTrailingSpacesAndZeroes = $.allowLeadingAndTrailingSpacesAndZeroes;
this.checkDuplicateGroupControlNumber = $.checkDuplicateGroupControlNumber;
this.checkDuplicateInterchangeControlNumber = $.checkDuplicateInterchangeControlNumber;
this.checkDuplicateTransactionSetControlNumber = $.checkDuplicateTransactionSetControlNumber;
this.interchangeControlNumberValidityDays = $.interchangeControlNumberValidityDays;
this.trailingSeparatorPolicy = $.trailingSeparatorPolicy;
this.trimLeadingAndTrailingSpacesAndZeroes = $.trimLeadingAndTrailingSpacesAndZeroes;
this.validateCharacterSet = $.validateCharacterSet;
this.validateEDITypes = $.validateEDITypes;
this.validateXSDTypes = $.validateXSDTypes;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(X12ValidationSettingsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private X12ValidationSettingsArgs $;
public Builder() {
$ = new X12ValidationSettingsArgs();
}
public Builder(X12ValidationSettingsArgs defaults) {
$ = new X12ValidationSettingsArgs(Objects.requireNonNull(defaults));
}
/**
* @param allowLeadingAndTrailingSpacesAndZeroes The value indicating whether to allow leading and trailing spaces and zeroes.
*
* @return builder
*
*/
public Builder allowLeadingAndTrailingSpacesAndZeroes(Output allowLeadingAndTrailingSpacesAndZeroes) {
$.allowLeadingAndTrailingSpacesAndZeroes = allowLeadingAndTrailingSpacesAndZeroes;
return this;
}
/**
* @param allowLeadingAndTrailingSpacesAndZeroes The value indicating whether to allow leading and trailing spaces and zeroes.
*
* @return builder
*
*/
public Builder allowLeadingAndTrailingSpacesAndZeroes(Boolean allowLeadingAndTrailingSpacesAndZeroes) {
return allowLeadingAndTrailingSpacesAndZeroes(Output.of(allowLeadingAndTrailingSpacesAndZeroes));
}
/**
* @param checkDuplicateGroupControlNumber The value indicating whether to check for duplicate group control number.
*
* @return builder
*
*/
public Builder checkDuplicateGroupControlNumber(Output checkDuplicateGroupControlNumber) {
$.checkDuplicateGroupControlNumber = checkDuplicateGroupControlNumber;
return this;
}
/**
* @param checkDuplicateGroupControlNumber The value indicating whether to check for duplicate group control number.
*
* @return builder
*
*/
public Builder checkDuplicateGroupControlNumber(Boolean checkDuplicateGroupControlNumber) {
return checkDuplicateGroupControlNumber(Output.of(checkDuplicateGroupControlNumber));
}
/**
* @param checkDuplicateInterchangeControlNumber The value indicating whether to check for duplicate interchange control number.
*
* @return builder
*
*/
public Builder checkDuplicateInterchangeControlNumber(Output checkDuplicateInterchangeControlNumber) {
$.checkDuplicateInterchangeControlNumber = checkDuplicateInterchangeControlNumber;
return this;
}
/**
* @param checkDuplicateInterchangeControlNumber The value indicating whether to check for duplicate interchange control number.
*
* @return builder
*
*/
public Builder checkDuplicateInterchangeControlNumber(Boolean checkDuplicateInterchangeControlNumber) {
return checkDuplicateInterchangeControlNumber(Output.of(checkDuplicateInterchangeControlNumber));
}
/**
* @param checkDuplicateTransactionSetControlNumber The value indicating whether to check for duplicate transaction set control number.
*
* @return builder
*
*/
public Builder checkDuplicateTransactionSetControlNumber(Output checkDuplicateTransactionSetControlNumber) {
$.checkDuplicateTransactionSetControlNumber = checkDuplicateTransactionSetControlNumber;
return this;
}
/**
* @param checkDuplicateTransactionSetControlNumber The value indicating whether to check for duplicate transaction set control number.
*
* @return builder
*
*/
public Builder checkDuplicateTransactionSetControlNumber(Boolean checkDuplicateTransactionSetControlNumber) {
return checkDuplicateTransactionSetControlNumber(Output.of(checkDuplicateTransactionSetControlNumber));
}
/**
* @param interchangeControlNumberValidityDays The validity period of interchange control number.
*
* @return builder
*
*/
public Builder interchangeControlNumberValidityDays(Output interchangeControlNumberValidityDays) {
$.interchangeControlNumberValidityDays = interchangeControlNumberValidityDays;
return this;
}
/**
* @param interchangeControlNumberValidityDays The validity period of interchange control number.
*
* @return builder
*
*/
public Builder interchangeControlNumberValidityDays(Integer interchangeControlNumberValidityDays) {
return interchangeControlNumberValidityDays(Output.of(interchangeControlNumberValidityDays));
}
/**
* @param trailingSeparatorPolicy The trailing separator policy.
*
* @return builder
*
*/
public Builder trailingSeparatorPolicy(Output> trailingSeparatorPolicy) {
$.trailingSeparatorPolicy = trailingSeparatorPolicy;
return this;
}
/**
* @param trailingSeparatorPolicy The trailing separator policy.
*
* @return builder
*
*/
public Builder trailingSeparatorPolicy(Either trailingSeparatorPolicy) {
return trailingSeparatorPolicy(Output.of(trailingSeparatorPolicy));
}
/**
* @param trailingSeparatorPolicy The trailing separator policy.
*
* @return builder
*
*/
public Builder trailingSeparatorPolicy(String trailingSeparatorPolicy) {
return trailingSeparatorPolicy(Either.ofLeft(trailingSeparatorPolicy));
}
/**
* @param trailingSeparatorPolicy The trailing separator policy.
*
* @return builder
*
*/
public Builder trailingSeparatorPolicy(TrailingSeparatorPolicy trailingSeparatorPolicy) {
return trailingSeparatorPolicy(Either.ofRight(trailingSeparatorPolicy));
}
/**
* @param trimLeadingAndTrailingSpacesAndZeroes The value indicating whether to trim leading and trailing spaces and zeroes.
*
* @return builder
*
*/
public Builder trimLeadingAndTrailingSpacesAndZeroes(Output trimLeadingAndTrailingSpacesAndZeroes) {
$.trimLeadingAndTrailingSpacesAndZeroes = trimLeadingAndTrailingSpacesAndZeroes;
return this;
}
/**
* @param trimLeadingAndTrailingSpacesAndZeroes The value indicating whether to trim leading and trailing spaces and zeroes.
*
* @return builder
*
*/
public Builder trimLeadingAndTrailingSpacesAndZeroes(Boolean trimLeadingAndTrailingSpacesAndZeroes) {
return trimLeadingAndTrailingSpacesAndZeroes(Output.of(trimLeadingAndTrailingSpacesAndZeroes));
}
/**
* @param validateCharacterSet The value indicating whether to validate character set in the message.
*
* @return builder
*
*/
public Builder validateCharacterSet(Output validateCharacterSet) {
$.validateCharacterSet = validateCharacterSet;
return this;
}
/**
* @param validateCharacterSet The value indicating whether to validate character set in the message.
*
* @return builder
*
*/
public Builder validateCharacterSet(Boolean validateCharacterSet) {
return validateCharacterSet(Output.of(validateCharacterSet));
}
/**
* @param validateEDITypes The value indicating whether to Whether to validate EDI types.
*
* @return builder
*
*/
public Builder validateEDITypes(Output validateEDITypes) {
$.validateEDITypes = validateEDITypes;
return this;
}
/**
* @param validateEDITypes The value indicating whether to Whether to validate EDI types.
*
* @return builder
*
*/
public Builder validateEDITypes(Boolean validateEDITypes) {
return validateEDITypes(Output.of(validateEDITypes));
}
/**
* @param validateXSDTypes The value indicating whether to Whether to validate XSD types.
*
* @return builder
*
*/
public Builder validateXSDTypes(Output validateXSDTypes) {
$.validateXSDTypes = validateXSDTypes;
return this;
}
/**
* @param validateXSDTypes The value indicating whether to Whether to validate XSD types.
*
* @return builder
*
*/
public Builder validateXSDTypes(Boolean validateXSDTypes) {
return validateXSDTypes(Output.of(validateXSDTypes));
}
public X12ValidationSettingsArgs build() {
if ($.allowLeadingAndTrailingSpacesAndZeroes == null) {
throw new MissingRequiredPropertyException("X12ValidationSettingsArgs", "allowLeadingAndTrailingSpacesAndZeroes");
}
if ($.checkDuplicateGroupControlNumber == null) {
throw new MissingRequiredPropertyException("X12ValidationSettingsArgs", "checkDuplicateGroupControlNumber");
}
if ($.checkDuplicateInterchangeControlNumber == null) {
throw new MissingRequiredPropertyException("X12ValidationSettingsArgs", "checkDuplicateInterchangeControlNumber");
}
if ($.checkDuplicateTransactionSetControlNumber == null) {
throw new MissingRequiredPropertyException("X12ValidationSettingsArgs", "checkDuplicateTransactionSetControlNumber");
}
if ($.interchangeControlNumberValidityDays == null) {
throw new MissingRequiredPropertyException("X12ValidationSettingsArgs", "interchangeControlNumberValidityDays");
}
if ($.trailingSeparatorPolicy == null) {
throw new MissingRequiredPropertyException("X12ValidationSettingsArgs", "trailingSeparatorPolicy");
}
if ($.trimLeadingAndTrailingSpacesAndZeroes == null) {
throw new MissingRequiredPropertyException("X12ValidationSettingsArgs", "trimLeadingAndTrailingSpacesAndZeroes");
}
if ($.validateCharacterSet == null) {
throw new MissingRequiredPropertyException("X12ValidationSettingsArgs", "validateCharacterSet");
}
if ($.validateEDITypes == null) {
throw new MissingRequiredPropertyException("X12ValidationSettingsArgs", "validateEDITypes");
}
if ($.validateXSDTypes == null) {
throw new MissingRequiredPropertyException("X12ValidationSettingsArgs", "validateXSDTypes");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy