com.pulumi.azure.healthcare.outputs.GetMedtechServiceResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.healthcare.outputs;
import com.pulumi.azure.healthcare.outputs.GetMedtechServiceIdentity;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetMedtechServiceResult {
/**
* @return The Device Mappings of the Med Tech Service.
*
*/
private String deviceMappingJson;
/**
* @return The Consumer Group of the Event Hub of the Healthcare Med Tech Service.
*
*/
private String eventhubConsumerGroupName;
/**
* @return The name of the Event Hub of the Healthcare Med Tech Service.
*
*/
private String eventhubName;
/**
* @return The namespace name of the Event Hub of the Healthcare Med Tech Service.
*
*/
private String eventhubNamespaceName;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return The `identity` block as defined below.
*
*/
private List identities;
private String name;
private String workspaceId;
private GetMedtechServiceResult() {}
/**
* @return The Device Mappings of the Med Tech Service.
*
*/
public String deviceMappingJson() {
return this.deviceMappingJson;
}
/**
* @return The Consumer Group of the Event Hub of the Healthcare Med Tech Service.
*
*/
public String eventhubConsumerGroupName() {
return this.eventhubConsumerGroupName;
}
/**
* @return The name of the Event Hub of the Healthcare Med Tech Service.
*
*/
public String eventhubName() {
return this.eventhubName;
}
/**
* @return The namespace name of the Event Hub of the Healthcare Med Tech Service.
*
*/
public String eventhubNamespaceName() {
return this.eventhubNamespaceName;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return The `identity` block as defined below.
*
*/
public List identities() {
return this.identities;
}
public String name() {
return this.name;
}
public String workspaceId() {
return this.workspaceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetMedtechServiceResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String deviceMappingJson;
private String eventhubConsumerGroupName;
private String eventhubName;
private String eventhubNamespaceName;
private String id;
private List identities;
private String name;
private String workspaceId;
public Builder() {}
public Builder(GetMedtechServiceResult defaults) {
Objects.requireNonNull(defaults);
this.deviceMappingJson = defaults.deviceMappingJson;
this.eventhubConsumerGroupName = defaults.eventhubConsumerGroupName;
this.eventhubName = defaults.eventhubName;
this.eventhubNamespaceName = defaults.eventhubNamespaceName;
this.id = defaults.id;
this.identities = defaults.identities;
this.name = defaults.name;
this.workspaceId = defaults.workspaceId;
}
@CustomType.Setter
public Builder deviceMappingJson(String deviceMappingJson) {
if (deviceMappingJson == null) {
throw new MissingRequiredPropertyException("GetMedtechServiceResult", "deviceMappingJson");
}
this.deviceMappingJson = deviceMappingJson;
return this;
}
@CustomType.Setter
public Builder eventhubConsumerGroupName(String eventhubConsumerGroupName) {
if (eventhubConsumerGroupName == null) {
throw new MissingRequiredPropertyException("GetMedtechServiceResult", "eventhubConsumerGroupName");
}
this.eventhubConsumerGroupName = eventhubConsumerGroupName;
return this;
}
@CustomType.Setter
public Builder eventhubName(String eventhubName) {
if (eventhubName == null) {
throw new MissingRequiredPropertyException("GetMedtechServiceResult", "eventhubName");
}
this.eventhubName = eventhubName;
return this;
}
@CustomType.Setter
public Builder eventhubNamespaceName(String eventhubNamespaceName) {
if (eventhubNamespaceName == null) {
throw new MissingRequiredPropertyException("GetMedtechServiceResult", "eventhubNamespaceName");
}
this.eventhubNamespaceName = eventhubNamespaceName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetMedtechServiceResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identities(List identities) {
if (identities == null) {
throw new MissingRequiredPropertyException("GetMedtechServiceResult", "identities");
}
this.identities = identities;
return this;
}
public Builder identities(GetMedtechServiceIdentity... identities) {
return identities(List.of(identities));
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetMedtechServiceResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder workspaceId(String workspaceId) {
if (workspaceId == null) {
throw new MissingRequiredPropertyException("GetMedtechServiceResult", "workspaceId");
}
this.workspaceId = workspaceId;
return this;
}
public GetMedtechServiceResult build() {
final var _resultValue = new GetMedtechServiceResult();
_resultValue.deviceMappingJson = deviceMappingJson;
_resultValue.eventhubConsumerGroupName = eventhubConsumerGroupName;
_resultValue.eventhubName = eventhubName;
_resultValue.eventhubNamespaceName = eventhubNamespaceName;
_resultValue.id = id;
_resultValue.identities = identities;
_resultValue.name = name;
_resultValue.workspaceId = workspaceId;
return _resultValue;
}
}
}