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

com.pulumi.azurenative.customerinsights.outputs.ConnectorMappingStructureResponse 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.customerinsights.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ConnectorMappingStructureResponse {
    /**
     * @return The column name of the import file.
     * 
     */
    private String columnName;
    /**
     * @return Custom format specifier for input parsing.
     * 
     */
    private @Nullable String customFormatSpecifier;
    /**
     * @return Indicates if the column is encrypted.
     * 
     */
    private @Nullable Boolean isEncrypted;
    /**
     * @return The property name of the mapping entity.
     * 
     */
    private String propertyName;

    private ConnectorMappingStructureResponse() {}
    /**
     * @return The column name of the import file.
     * 
     */
    public String columnName() {
        return this.columnName;
    }
    /**
     * @return Custom format specifier for input parsing.
     * 
     */
    public Optional customFormatSpecifier() {
        return Optional.ofNullable(this.customFormatSpecifier);
    }
    /**
     * @return Indicates if the column is encrypted.
     * 
     */
    public Optional isEncrypted() {
        return Optional.ofNullable(this.isEncrypted);
    }
    /**
     * @return The property name of the mapping entity.
     * 
     */
    public String propertyName() {
        return this.propertyName;
    }

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

    public static Builder builder(ConnectorMappingStructureResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String columnName;
        private @Nullable String customFormatSpecifier;
        private @Nullable Boolean isEncrypted;
        private String propertyName;
        public Builder() {}
        public Builder(ConnectorMappingStructureResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.columnName = defaults.columnName;
    	      this.customFormatSpecifier = defaults.customFormatSpecifier;
    	      this.isEncrypted = defaults.isEncrypted;
    	      this.propertyName = defaults.propertyName;
        }

        @CustomType.Setter
        public Builder columnName(String columnName) {
            if (columnName == null) {
              throw new MissingRequiredPropertyException("ConnectorMappingStructureResponse", "columnName");
            }
            this.columnName = columnName;
            return this;
        }
        @CustomType.Setter
        public Builder customFormatSpecifier(@Nullable String customFormatSpecifier) {

            this.customFormatSpecifier = customFormatSpecifier;
            return this;
        }
        @CustomType.Setter
        public Builder isEncrypted(@Nullable Boolean isEncrypted) {

            this.isEncrypted = isEncrypted;
            return this;
        }
        @CustomType.Setter
        public Builder propertyName(String propertyName) {
            if (propertyName == null) {
              throw new MissingRequiredPropertyException("ConnectorMappingStructureResponse", "propertyName");
            }
            this.propertyName = propertyName;
            return this;
        }
        public ConnectorMappingStructureResponse build() {
            final var _resultValue = new ConnectorMappingStructureResponse();
            _resultValue.columnName = columnName;
            _resultValue.customFormatSpecifier = customFormatSpecifier;
            _resultValue.isEncrypted = isEncrypted;
            _resultValue.propertyName = propertyName;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy