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

com.pulumi.azurenative.iotoperationsmq.outputs.GetDataLakeConnectorResult Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.iotoperationsmq.outputs;

import com.pulumi.azurenative.iotoperationsmq.outputs.ContainerImageResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.DataLakeTargetStorageResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.ExtendedLocationPropertyResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.LocalBrokerConnectionSpecResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.NodeTolerationsResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetDataLakeConnectorResult {
    /**
     * @return DataLake database format to use.
     * 
     */
    private String databaseFormat;
    /**
     * @return Extended Location
     * 
     */
    private ExtendedLocationPropertyResponse extendedLocation;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return The details of DataLakeConnector Docker Image.
     * 
     */
    private ContainerImageResponse image;
    /**
     * @return The number of DataLakeConnector pods to spin up.
     * 
     */
    private @Nullable Integer instances;
    /**
     * @return The details for connecting with Local Broker.
     * 
     */
    private @Nullable LocalBrokerConnectionSpecResponse localBrokerConnection;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return The log level of the DataLake Connector instances.
     * 
     */
    private @Nullable String logLevel;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return The Node Tolerations for the DataLake Connector pods.
     * 
     */
    private @Nullable NodeTolerationsResponse nodeTolerations;
    /**
     * @return The protocol to use for connecting with Brokers.
     * 
     */
    private String protocol;
    /**
     * @return The status of the last operation.
     * 
     */
    private String provisioningState;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The protocol to use for connecting with Brokers. NOTE - Enum only storage is supported at at time.
     * 
     */
    private DataLakeTargetStorageResponse target;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;

    private GetDataLakeConnectorResult() {}
    /**
     * @return DataLake database format to use.
     * 
     */
    public String databaseFormat() {
        return this.databaseFormat;
    }
    /**
     * @return Extended Location
     * 
     */
    public ExtendedLocationPropertyResponse extendedLocation() {
        return this.extendedLocation;
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The details of DataLakeConnector Docker Image.
     * 
     */
    public ContainerImageResponse image() {
        return this.image;
    }
    /**
     * @return The number of DataLakeConnector pods to spin up.
     * 
     */
    public Optional instances() {
        return Optional.ofNullable(this.instances);
    }
    /**
     * @return The details for connecting with Local Broker.
     * 
     */
    public Optional localBrokerConnection() {
        return Optional.ofNullable(this.localBrokerConnection);
    }
    /**
     * @return The geo-location where the resource lives
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The log level of the DataLake Connector instances.
     * 
     */
    public Optional logLevel() {
        return Optional.ofNullable(this.logLevel);
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The Node Tolerations for the DataLake Connector pods.
     * 
     */
    public Optional nodeTolerations() {
        return Optional.ofNullable(this.nodeTolerations);
    }
    /**
     * @return The protocol to use for connecting with Brokers.
     * 
     */
    public String protocol() {
        return this.protocol;
    }
    /**
     * @return The status of the last operation.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return The protocol to use for connecting with Brokers. NOTE - Enum only storage is supported at at time.
     * 
     */
    public DataLakeTargetStorageResponse target() {
        return this.target;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetDataLakeConnectorResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String databaseFormat;
        private ExtendedLocationPropertyResponse extendedLocation;
        private String id;
        private ContainerImageResponse image;
        private @Nullable Integer instances;
        private @Nullable LocalBrokerConnectionSpecResponse localBrokerConnection;
        private String location;
        private @Nullable String logLevel;
        private String name;
        private @Nullable NodeTolerationsResponse nodeTolerations;
        private String protocol;
        private String provisioningState;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private DataLakeTargetStorageResponse target;
        private String type;
        public Builder() {}
        public Builder(GetDataLakeConnectorResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.databaseFormat = defaults.databaseFormat;
    	      this.extendedLocation = defaults.extendedLocation;
    	      this.id = defaults.id;
    	      this.image = defaults.image;
    	      this.instances = defaults.instances;
    	      this.localBrokerConnection = defaults.localBrokerConnection;
    	      this.location = defaults.location;
    	      this.logLevel = defaults.logLevel;
    	      this.name = defaults.name;
    	      this.nodeTolerations = defaults.nodeTolerations;
    	      this.protocol = defaults.protocol;
    	      this.provisioningState = defaults.provisioningState;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.target = defaults.target;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder databaseFormat(String databaseFormat) {
            if (databaseFormat == null) {
              throw new MissingRequiredPropertyException("GetDataLakeConnectorResult", "databaseFormat");
            }
            this.databaseFormat = databaseFormat;
            return this;
        }
        @CustomType.Setter
        public Builder extendedLocation(ExtendedLocationPropertyResponse extendedLocation) {
            if (extendedLocation == null) {
              throw new MissingRequiredPropertyException("GetDataLakeConnectorResult", "extendedLocation");
            }
            this.extendedLocation = extendedLocation;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetDataLakeConnectorResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder image(ContainerImageResponse image) {
            if (image == null) {
              throw new MissingRequiredPropertyException("GetDataLakeConnectorResult", "image");
            }
            this.image = image;
            return this;
        }
        @CustomType.Setter
        public Builder instances(@Nullable Integer instances) {

            this.instances = instances;
            return this;
        }
        @CustomType.Setter
        public Builder localBrokerConnection(@Nullable LocalBrokerConnectionSpecResponse localBrokerConnection) {

            this.localBrokerConnection = localBrokerConnection;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetDataLakeConnectorResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder logLevel(@Nullable String logLevel) {

            this.logLevel = logLevel;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetDataLakeConnectorResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder nodeTolerations(@Nullable NodeTolerationsResponse nodeTolerations) {

            this.nodeTolerations = nodeTolerations;
            return this;
        }
        @CustomType.Setter
        public Builder protocol(String protocol) {
            if (protocol == null) {
              throw new MissingRequiredPropertyException("GetDataLakeConnectorResult", "protocol");
            }
            this.protocol = protocol;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetDataLakeConnectorResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetDataLakeConnectorResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder target(DataLakeTargetStorageResponse target) {
            if (target == null) {
              throw new MissingRequiredPropertyException("GetDataLakeConnectorResult", "target");
            }
            this.target = target;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetDataLakeConnectorResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetDataLakeConnectorResult build() {
            final var _resultValue = new GetDataLakeConnectorResult();
            _resultValue.databaseFormat = databaseFormat;
            _resultValue.extendedLocation = extendedLocation;
            _resultValue.id = id;
            _resultValue.image = image;
            _resultValue.instances = instances;
            _resultValue.localBrokerConnection = localBrokerConnection;
            _resultValue.location = location;
            _resultValue.logLevel = logLevel;
            _resultValue.name = name;
            _resultValue.nodeTolerations = nodeTolerations;
            _resultValue.protocol = protocol;
            _resultValue.provisioningState = provisioningState;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.target = target;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy