
com.pulumi.azurenative.devices.outputs.EnrichmentPropertiesResponse 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.devices.outputs;
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 EnrichmentPropertiesResponse {
/**
* @return The list of endpoints for which the enrichment is applied to the message.
*
*/
private List endpointNames;
/**
* @return The key or name for the enrichment property.
*
*/
private String key;
/**
* @return The value for the enrichment property.
*
*/
private String value;
private EnrichmentPropertiesResponse() {}
/**
* @return The list of endpoints for which the enrichment is applied to the message.
*
*/
public List endpointNames() {
return this.endpointNames;
}
/**
* @return The key or name for the enrichment property.
*
*/
public String key() {
return this.key;
}
/**
* @return The value for the enrichment property.
*
*/
public String value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EnrichmentPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List endpointNames;
private String key;
private String value;
public Builder() {}
public Builder(EnrichmentPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.endpointNames = defaults.endpointNames;
this.key = defaults.key;
this.value = defaults.value;
}
@CustomType.Setter
public Builder endpointNames(List endpointNames) {
if (endpointNames == null) {
throw new MissingRequiredPropertyException("EnrichmentPropertiesResponse", "endpointNames");
}
this.endpointNames = endpointNames;
return this;
}
public Builder endpointNames(String... endpointNames) {
return endpointNames(List.of(endpointNames));
}
@CustomType.Setter
public Builder key(String key) {
if (key == null) {
throw new MissingRequiredPropertyException("EnrichmentPropertiesResponse", "key");
}
this.key = key;
return this;
}
@CustomType.Setter
public Builder value(String value) {
if (value == null) {
throw new MissingRequiredPropertyException("EnrichmentPropertiesResponse", "value");
}
this.value = value;
return this;
}
public EnrichmentPropertiesResponse build() {
final var _resultValue = new EnrichmentPropertiesResponse();
_resultValue.endpointNames = endpointNames;
_resultValue.key = key;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy