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

com.pulumi.azurenative.deviceregistry.outputs.GetDiscoveredAssetEndpointProfileResult Maven / Gradle / Ivy

// *** 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.deviceregistry.outputs;

import com.pulumi.azurenative.deviceregistry.outputs.ExtendedLocationResponse;
import com.pulumi.azurenative.deviceregistry.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetDiscoveredAssetEndpointProfileResult {
    /**
     * @return Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).
     * 
     */
    private @Nullable String additionalConfiguration;
    /**
     * @return Identifier used to detect changes in the asset endpoint profile.
     * 
     */
    private String discoveryId;
    /**
     * @return Defines the configuration for the connector type that is being used with the endpoint profile.
     * 
     */
    private String endpointProfileType;
    /**
     * @return The extended location.
     * 
     */
    private ExtendedLocationResponse extendedLocation;
    /**
     * @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
     * 
     */
    private String id;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return Provisioning state of the resource.
     * 
     */
    private String provisioningState;
    /**
     * @return List of supported authentication methods supported by the target server.
     * 
     */
    private @Nullable List supportedAuthenticationMethods;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.
     * 
     */
    private String targetAddress;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;
    /**
     * @return An integer that is incremented each time the resource is modified.
     * 
     */
    private Double version;

    private GetDiscoveredAssetEndpointProfileResult() {}
    /**
     * @return Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).
     * 
     */
    public Optional additionalConfiguration() {
        return Optional.ofNullable(this.additionalConfiguration);
    }
    /**
     * @return Identifier used to detect changes in the asset endpoint profile.
     * 
     */
    public String discoveryId() {
        return this.discoveryId;
    }
    /**
     * @return Defines the configuration for the connector type that is being used with the endpoint profile.
     * 
     */
    public String endpointProfileType() {
        return this.endpointProfileType;
    }
    /**
     * @return The extended location.
     * 
     */
    public ExtendedLocationResponse extendedLocation() {
        return this.extendedLocation;
    }
    /**
     * @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The geo-location where the resource lives
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Provisioning state of the resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return List of supported authentication methods supported by the target server.
     * 
     */
    public List supportedAuthenticationMethods() {
        return this.supportedAuthenticationMethods == null ? List.of() : this.supportedAuthenticationMethods;
    }
    /**
     * @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 local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.
     * 
     */
    public String targetAddress() {
        return this.targetAddress;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return An integer that is incremented each time the resource is modified.
     * 
     */
    public Double version() {
        return this.version;
    }

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

    public static Builder builder(GetDiscoveredAssetEndpointProfileResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String additionalConfiguration;
        private String discoveryId;
        private String endpointProfileType;
        private ExtendedLocationResponse extendedLocation;
        private String id;
        private String location;
        private String name;
        private String provisioningState;
        private @Nullable List supportedAuthenticationMethods;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String targetAddress;
        private String type;
        private Double version;
        public Builder() {}
        public Builder(GetDiscoveredAssetEndpointProfileResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.additionalConfiguration = defaults.additionalConfiguration;
    	      this.discoveryId = defaults.discoveryId;
    	      this.endpointProfileType = defaults.endpointProfileType;
    	      this.extendedLocation = defaults.extendedLocation;
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.supportedAuthenticationMethods = defaults.supportedAuthenticationMethods;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.targetAddress = defaults.targetAddress;
    	      this.type = defaults.type;
    	      this.version = defaults.version;
        }

        @CustomType.Setter
        public Builder additionalConfiguration(@Nullable String additionalConfiguration) {

            this.additionalConfiguration = additionalConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder discoveryId(String discoveryId) {
            if (discoveryId == null) {
              throw new MissingRequiredPropertyException("GetDiscoveredAssetEndpointProfileResult", "discoveryId");
            }
            this.discoveryId = discoveryId;
            return this;
        }
        @CustomType.Setter
        public Builder endpointProfileType(String endpointProfileType) {
            if (endpointProfileType == null) {
              throw new MissingRequiredPropertyException("GetDiscoveredAssetEndpointProfileResult", "endpointProfileType");
            }
            this.endpointProfileType = endpointProfileType;
            return this;
        }
        @CustomType.Setter
        public Builder extendedLocation(ExtendedLocationResponse extendedLocation) {
            if (extendedLocation == null) {
              throw new MissingRequiredPropertyException("GetDiscoveredAssetEndpointProfileResult", "extendedLocation");
            }
            this.extendedLocation = extendedLocation;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetDiscoveredAssetEndpointProfileResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetDiscoveredAssetEndpointProfileResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetDiscoveredAssetEndpointProfileResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetDiscoveredAssetEndpointProfileResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder supportedAuthenticationMethods(@Nullable List supportedAuthenticationMethods) {

            this.supportedAuthenticationMethods = supportedAuthenticationMethods;
            return this;
        }
        public Builder supportedAuthenticationMethods(String... supportedAuthenticationMethods) {
            return supportedAuthenticationMethods(List.of(supportedAuthenticationMethods));
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetDiscoveredAssetEndpointProfileResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder targetAddress(String targetAddress) {
            if (targetAddress == null) {
              throw new MissingRequiredPropertyException("GetDiscoveredAssetEndpointProfileResult", "targetAddress");
            }
            this.targetAddress = targetAddress;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetDiscoveredAssetEndpointProfileResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder version(Double version) {
            if (version == null) {
              throw new MissingRequiredPropertyException("GetDiscoveredAssetEndpointProfileResult", "version");
            }
            this.version = version;
            return this;
        }
        public GetDiscoveredAssetEndpointProfileResult build() {
            final var _resultValue = new GetDiscoveredAssetEndpointProfileResult();
            _resultValue.additionalConfiguration = additionalConfiguration;
            _resultValue.discoveryId = discoveryId;
            _resultValue.endpointProfileType = endpointProfileType;
            _resultValue.extendedLocation = extendedLocation;
            _resultValue.id = id;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.supportedAuthenticationMethods = supportedAuthenticationMethods;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.targetAddress = targetAddress;
            _resultValue.type = type;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy