
com.pulumi.azurenative.insights.outputs.DataSourcesSpecResponseDataImports 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.insights.outputs;
import com.pulumi.azurenative.insights.outputs.DataImportSourcesResponseEventHub;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DataSourcesSpecResponseDataImports {
/**
* @return Definition of Event Hub configuration.
*
*/
private @Nullable DataImportSourcesResponseEventHub eventHub;
private DataSourcesSpecResponseDataImports() {}
/**
* @return Definition of Event Hub configuration.
*
*/
public Optional eventHub() {
return Optional.ofNullable(this.eventHub);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataSourcesSpecResponseDataImports defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable DataImportSourcesResponseEventHub eventHub;
public Builder() {}
public Builder(DataSourcesSpecResponseDataImports defaults) {
Objects.requireNonNull(defaults);
this.eventHub = defaults.eventHub;
}
@CustomType.Setter
public Builder eventHub(@Nullable DataImportSourcesResponseEventHub eventHub) {
this.eventHub = eventHub;
return this;
}
public DataSourcesSpecResponseDataImports build() {
final var _resultValue = new DataSourcesSpecResponseDataImports();
_resultValue.eventHub = eventHub;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy