
com.pulumi.azurenative.iotoperationsmq.outputs.GetKafkaConnectorResult 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.iotoperationsmq.outputs;
import com.pulumi.azurenative.iotoperationsmq.outputs.ContainerImageResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.ExtendedLocationPropertyResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.KafkaRemoteBrokerConnectionSpecResponse;
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 GetKafkaConnectorResult {
/**
* @return The client id prefix of the dynamically generated client ids.
*
*/
private @Nullable String clientIdPrefix;
/**
* @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 KafkaConnector Docker Image.
*
*/
private @Nullable ContainerImageResponse image;
/**
* @return The number of KafkaConnector pods to spin up.
*
*/
private @Nullable Integer instances;
/**
* @return The details for connecting with Remote Kafka Broker.
*
*/
private KafkaRemoteBrokerConnectionSpecResponse kafkaConnection;
/**
* @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 Bridge Connector instances.
*
*/
private @Nullable String logLevel;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return The Node Tolerations for the Bridge Connector pods.
*
*/
private @Nullable NodeTolerationsResponse nodeTolerations;
/**
* @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 type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetKafkaConnectorResult() {}
/**
* @return The client id prefix of the dynamically generated client ids.
*
*/
public Optional clientIdPrefix() {
return Optional.ofNullable(this.clientIdPrefix);
}
/**
* @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 KafkaConnector Docker Image.
*
*/
public Optional image() {
return Optional.ofNullable(this.image);
}
/**
* @return The number of KafkaConnector pods to spin up.
*
*/
public Optional instances() {
return Optional.ofNullable(this.instances);
}
/**
* @return The details for connecting with Remote Kafka Broker.
*
*/
public KafkaRemoteBrokerConnectionSpecResponse kafkaConnection() {
return this.kafkaConnection;
}
/**
* @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 Bridge 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 Bridge Connector pods.
*
*/
public Optional nodeTolerations() {
return Optional.ofNullable(this.nodeTolerations);
}
/**
* @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 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(GetKafkaConnectorResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String clientIdPrefix;
private ExtendedLocationPropertyResponse extendedLocation;
private String id;
private @Nullable ContainerImageResponse image;
private @Nullable Integer instances;
private KafkaRemoteBrokerConnectionSpecResponse kafkaConnection;
private @Nullable LocalBrokerConnectionSpecResponse localBrokerConnection;
private String location;
private @Nullable String logLevel;
private String name;
private @Nullable NodeTolerationsResponse nodeTolerations;
private String provisioningState;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(GetKafkaConnectorResult defaults) {
Objects.requireNonNull(defaults);
this.clientIdPrefix = defaults.clientIdPrefix;
this.extendedLocation = defaults.extendedLocation;
this.id = defaults.id;
this.image = defaults.image;
this.instances = defaults.instances;
this.kafkaConnection = defaults.kafkaConnection;
this.localBrokerConnection = defaults.localBrokerConnection;
this.location = defaults.location;
this.logLevel = defaults.logLevel;
this.name = defaults.name;
this.nodeTolerations = defaults.nodeTolerations;
this.provisioningState = defaults.provisioningState;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder clientIdPrefix(@Nullable String clientIdPrefix) {
this.clientIdPrefix = clientIdPrefix;
return this;
}
@CustomType.Setter
public Builder extendedLocation(ExtendedLocationPropertyResponse extendedLocation) {
if (extendedLocation == null) {
throw new MissingRequiredPropertyException("GetKafkaConnectorResult", "extendedLocation");
}
this.extendedLocation = extendedLocation;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetKafkaConnectorResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder image(@Nullable ContainerImageResponse image) {
this.image = image;
return this;
}
@CustomType.Setter
public Builder instances(@Nullable Integer instances) {
this.instances = instances;
return this;
}
@CustomType.Setter
public Builder kafkaConnection(KafkaRemoteBrokerConnectionSpecResponse kafkaConnection) {
if (kafkaConnection == null) {
throw new MissingRequiredPropertyException("GetKafkaConnectorResult", "kafkaConnection");
}
this.kafkaConnection = kafkaConnection;
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("GetKafkaConnectorResult", "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("GetKafkaConnectorResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder nodeTolerations(@Nullable NodeTolerationsResponse nodeTolerations) {
this.nodeTolerations = nodeTolerations;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetKafkaConnectorResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetKafkaConnectorResult", "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("GetKafkaConnectorResult", "type");
}
this.type = type;
return this;
}
public GetKafkaConnectorResult build() {
final var _resultValue = new GetKafkaConnectorResult();
_resultValue.clientIdPrefix = clientIdPrefix;
_resultValue.extendedLocation = extendedLocation;
_resultValue.id = id;
_resultValue.image = image;
_resultValue.instances = instances;
_resultValue.kafkaConnection = kafkaConnection;
_resultValue.localBrokerConnection = localBrokerConnection;
_resultValue.location = location;
_resultValue.logLevel = logLevel;
_resultValue.name = name;
_resultValue.nodeTolerations = nodeTolerations;
_resultValue.provisioningState = provisioningState;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy