com.pulumi.azurenative.insights.outputs.StreamDeclarationResponse 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.insights.outputs;
import com.pulumi.azurenative.insights.outputs.ColumnDefinitionResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class StreamDeclarationResponse {
/**
* @return List of columns used by data in this stream.
*
*/
private @Nullable List columns;
private StreamDeclarationResponse() {}
/**
* @return List of columns used by data in this stream.
*
*/
public List columns() {
return this.columns == null ? List.of() : this.columns;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StreamDeclarationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List columns;
public Builder() {}
public Builder(StreamDeclarationResponse defaults) {
Objects.requireNonNull(defaults);
this.columns = defaults.columns;
}
@CustomType.Setter
public Builder columns(@Nullable List columns) {
this.columns = columns;
return this;
}
public Builder columns(ColumnDefinitionResponse... columns) {
return columns(List.of(columns));
}
public StreamDeclarationResponse build() {
final var _resultValue = new StreamDeclarationResponse();
_resultValue.columns = columns;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy