com.pulumi.azurenative.iotoperations.outputs.DataFlowEndpointDataExplorerResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.iotoperations.outputs;
import com.pulumi.azurenative.iotoperations.outputs.BatchingConfigurationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DataFlowEndpointDataExplorerResponse {
/**
* @return Azure Data Explorer endpoint batching configuration.
*
*/
private @Nullable BatchingConfigurationResponse batching;
/**
* @return Database name.
*
*/
private String database;
/**
* @return Host of the Azure Data Explorer in the form of <cluster>.<region>.kusto.windows.net .
*
*/
private String host;
private DataFlowEndpointDataExplorerResponse() {}
/**
* @return Azure Data Explorer endpoint batching configuration.
*
*/
public Optional batching() {
return Optional.ofNullable(this.batching);
}
/**
* @return Database name.
*
*/
public String database() {
return this.database;
}
/**
* @return Host of the Azure Data Explorer in the form of <cluster>.<region>.kusto.windows.net .
*
*/
public String host() {
return this.host;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataFlowEndpointDataExplorerResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable BatchingConfigurationResponse batching;
private String database;
private String host;
public Builder() {}
public Builder(DataFlowEndpointDataExplorerResponse defaults) {
Objects.requireNonNull(defaults);
this.batching = defaults.batching;
this.database = defaults.database;
this.host = defaults.host;
}
@CustomType.Setter
public Builder batching(@Nullable BatchingConfigurationResponse batching) {
this.batching = batching;
return this;
}
@CustomType.Setter
public Builder database(String database) {
if (database == null) {
throw new MissingRequiredPropertyException("DataFlowEndpointDataExplorerResponse", "database");
}
this.database = database;
return this;
}
@CustomType.Setter
public Builder host(String host) {
if (host == null) {
throw new MissingRequiredPropertyException("DataFlowEndpointDataExplorerResponse", "host");
}
this.host = host;
return this;
}
public DataFlowEndpointDataExplorerResponse build() {
final var _resultValue = new DataFlowEndpointDataExplorerResponse();
_resultValue.batching = batching;
_resultValue.database = database;
_resultValue.host = host;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy