
com.pulumi.azurenative.healthcareapis.outputs.GetIotConnectorResult 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.healthcareapis.outputs;
import com.pulumi.azurenative.healthcareapis.outputs.IotEventHubIngestionEndpointConfigurationResponse;
import com.pulumi.azurenative.healthcareapis.outputs.IotMappingPropertiesResponse;
import com.pulumi.azurenative.healthcareapis.outputs.ServiceManagedIdentityResponseIdentity;
import com.pulumi.azurenative.healthcareapis.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetIotConnectorResult {
/**
* @return Device Mappings.
*
*/
private @Nullable IotMappingPropertiesResponse deviceMapping;
/**
* @return An etag associated with the resource, used for optimistic concurrency when editing it.
*
*/
private @Nullable String etag;
/**
* @return The resource identifier.
*
*/
private String id;
/**
* @return Setting indicating whether the service has a managed identity associated with it.
*
*/
private @Nullable ServiceManagedIdentityResponseIdentity identity;
/**
* @return Source configuration.
*
*/
private @Nullable IotEventHubIngestionEndpointConfigurationResponse ingestionEndpointConfiguration;
/**
* @return The resource location.
*
*/
private @Nullable String location;
/**
* @return The resource name.
*
*/
private String name;
/**
* @return The provisioning state.
*
*/
private String provisioningState;
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return The resource type.
*
*/
private String type;
private GetIotConnectorResult() {}
/**
* @return Device Mappings.
*
*/
public Optional deviceMapping() {
return Optional.ofNullable(this.deviceMapping);
}
/**
* @return An etag associated with the resource, used for optimistic concurrency when editing it.
*
*/
public Optional etag() {
return Optional.ofNullable(this.etag);
}
/**
* @return The resource identifier.
*
*/
public String id() {
return this.id;
}
/**
* @return Setting indicating whether the service has a managed identity associated with it.
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return Source configuration.
*
*/
public Optional ingestionEndpointConfiguration() {
return Optional.ofNullable(this.ingestionEndpointConfiguration);
}
/**
* @return The resource location.
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return The resource name.
*
*/
public String name() {
return this.name;
}
/**
* @return The provisioning state.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The resource type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetIotConnectorResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable IotMappingPropertiesResponse deviceMapping;
private @Nullable String etag;
private String id;
private @Nullable ServiceManagedIdentityResponseIdentity identity;
private @Nullable IotEventHubIngestionEndpointConfigurationResponse ingestionEndpointConfiguration;
private @Nullable String location;
private String name;
private String provisioningState;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(GetIotConnectorResult defaults) {
Objects.requireNonNull(defaults);
this.deviceMapping = defaults.deviceMapping;
this.etag = defaults.etag;
this.id = defaults.id;
this.identity = defaults.identity;
this.ingestionEndpointConfiguration = defaults.ingestionEndpointConfiguration;
this.location = defaults.location;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder deviceMapping(@Nullable IotMappingPropertiesResponse deviceMapping) {
this.deviceMapping = deviceMapping;
return this;
}
@CustomType.Setter
public Builder etag(@Nullable String etag) {
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetIotConnectorResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable ServiceManagedIdentityResponseIdentity identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder ingestionEndpointConfiguration(@Nullable IotEventHubIngestionEndpointConfigurationResponse ingestionEndpointConfiguration) {
this.ingestionEndpointConfiguration = ingestionEndpointConfiguration;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetIotConnectorResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetIotConnectorResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetIotConnectorResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetIotConnectorResult", "type");
}
this.type = type;
return this;
}
public GetIotConnectorResult build() {
final var _resultValue = new GetIotConnectorResult();
_resultValue.deviceMapping = deviceMapping;
_resultValue.etag = etag;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.ingestionEndpointConfiguration = ingestionEndpointConfiguration;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy