com.pulumi.azurenative.eventgrid.outputs.StaticRoutingEnrichmentResponse 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.eventgrid.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class StaticRoutingEnrichmentResponse {
/**
* @return Static routing enrichment key.
*
*/
private @Nullable String key;
/**
* @return Static routing enrichment value type. For e.g. this property value can be 'String'.
*
*/
private @Nullable String valueType;
private StaticRoutingEnrichmentResponse() {}
/**
* @return Static routing enrichment key.
*
*/
public Optional key() {
return Optional.ofNullable(this.key);
}
/**
* @return Static routing enrichment value type. For e.g. this property value can be 'String'.
*
*/
public Optional valueType() {
return Optional.ofNullable(this.valueType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StaticRoutingEnrichmentResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String key;
private @Nullable String valueType;
public Builder() {}
public Builder(StaticRoutingEnrichmentResponse defaults) {
Objects.requireNonNull(defaults);
this.key = defaults.key;
this.valueType = defaults.valueType;
}
@CustomType.Setter
public Builder key(@Nullable String key) {
this.key = key;
return this;
}
@CustomType.Setter
public Builder valueType(@Nullable String valueType) {
this.valueType = valueType;
return this;
}
public StaticRoutingEnrichmentResponse build() {
final var _resultValue = new StaticRoutingEnrichmentResponse();
_resultValue.key = key;
_resultValue.valueType = valueType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy