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

com.pulumi.azurenative.logic.outputs.X12FramingSettingsResponse 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class X12FramingSettingsResponse {
    /**
     * @return The X12 character set.
     * 
     */
    private String characterSet;
    /**
     * @return The component separator.
     * 
     */
    private Integer componentSeparator;
    /**
     * @return The data element separator.
     * 
     */
    private Integer dataElementSeparator;
    /**
     * @return The replacement character.
     * 
     */
    private Integer replaceCharacter;
    /**
     * @return The value indicating whether to replace separators in payload.
     * 
     */
    private Boolean replaceSeparatorsInPayload;
    /**
     * @return The segment terminator.
     * 
     */
    private Integer segmentTerminator;
    /**
     * @return The segment terminator suffix.
     * 
     */
    private String segmentTerminatorSuffix;

    private X12FramingSettingsResponse() {}
    /**
     * @return The X12 character set.
     * 
     */
    public String characterSet() {
        return this.characterSet;
    }
    /**
     * @return The component separator.
     * 
     */
    public Integer componentSeparator() {
        return this.componentSeparator;
    }
    /**
     * @return The data element separator.
     * 
     */
    public Integer dataElementSeparator() {
        return this.dataElementSeparator;
    }
    /**
     * @return The replacement character.
     * 
     */
    public Integer replaceCharacter() {
        return this.replaceCharacter;
    }
    /**
     * @return The value indicating whether to replace separators in payload.
     * 
     */
    public Boolean replaceSeparatorsInPayload() {
        return this.replaceSeparatorsInPayload;
    }
    /**
     * @return The segment terminator.
     * 
     */
    public Integer segmentTerminator() {
        return this.segmentTerminator;
    }
    /**
     * @return The segment terminator suffix.
     * 
     */
    public String segmentTerminatorSuffix() {
        return this.segmentTerminatorSuffix;
    }

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

    public static Builder builder(X12FramingSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String characterSet;
        private Integer componentSeparator;
        private Integer dataElementSeparator;
        private Integer replaceCharacter;
        private Boolean replaceSeparatorsInPayload;
        private Integer segmentTerminator;
        private String segmentTerminatorSuffix;
        public Builder() {}
        public Builder(X12FramingSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.characterSet = defaults.characterSet;
    	      this.componentSeparator = defaults.componentSeparator;
    	      this.dataElementSeparator = defaults.dataElementSeparator;
    	      this.replaceCharacter = defaults.replaceCharacter;
    	      this.replaceSeparatorsInPayload = defaults.replaceSeparatorsInPayload;
    	      this.segmentTerminator = defaults.segmentTerminator;
    	      this.segmentTerminatorSuffix = defaults.segmentTerminatorSuffix;
        }

        @CustomType.Setter
        public Builder characterSet(String characterSet) {
            if (characterSet == null) {
              throw new MissingRequiredPropertyException("X12FramingSettingsResponse", "characterSet");
            }
            this.characterSet = characterSet;
            return this;
        }
        @CustomType.Setter
        public Builder componentSeparator(Integer componentSeparator) {
            if (componentSeparator == null) {
              throw new MissingRequiredPropertyException("X12FramingSettingsResponse", "componentSeparator");
            }
            this.componentSeparator = componentSeparator;
            return this;
        }
        @CustomType.Setter
        public Builder dataElementSeparator(Integer dataElementSeparator) {
            if (dataElementSeparator == null) {
              throw new MissingRequiredPropertyException("X12FramingSettingsResponse", "dataElementSeparator");
            }
            this.dataElementSeparator = dataElementSeparator;
            return this;
        }
        @CustomType.Setter
        public Builder replaceCharacter(Integer replaceCharacter) {
            if (replaceCharacter == null) {
              throw new MissingRequiredPropertyException("X12FramingSettingsResponse", "replaceCharacter");
            }
            this.replaceCharacter = replaceCharacter;
            return this;
        }
        @CustomType.Setter
        public Builder replaceSeparatorsInPayload(Boolean replaceSeparatorsInPayload) {
            if (replaceSeparatorsInPayload == null) {
              throw new MissingRequiredPropertyException("X12FramingSettingsResponse", "replaceSeparatorsInPayload");
            }
            this.replaceSeparatorsInPayload = replaceSeparatorsInPayload;
            return this;
        }
        @CustomType.Setter
        public Builder segmentTerminator(Integer segmentTerminator) {
            if (segmentTerminator == null) {
              throw new MissingRequiredPropertyException("X12FramingSettingsResponse", "segmentTerminator");
            }
            this.segmentTerminator = segmentTerminator;
            return this;
        }
        @CustomType.Setter
        public Builder segmentTerminatorSuffix(String segmentTerminatorSuffix) {
            if (segmentTerminatorSuffix == null) {
              throw new MissingRequiredPropertyException("X12FramingSettingsResponse", "segmentTerminatorSuffix");
            }
            this.segmentTerminatorSuffix = segmentTerminatorSuffix;
            return this;
        }
        public X12FramingSettingsResponse build() {
            final var _resultValue = new X12FramingSettingsResponse();
            _resultValue.characterSet = characterSet;
            _resultValue.componentSeparator = componentSeparator;
            _resultValue.dataElementSeparator = dataElementSeparator;
            _resultValue.replaceCharacter = replaceCharacter;
            _resultValue.replaceSeparatorsInPayload = replaceSeparatorsInPayload;
            _resultValue.segmentTerminator = segmentTerminator;
            _resultValue.segmentTerminatorSuffix = segmentTerminatorSuffix;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy