com.pulumi.azurenative.eventgrid.outputs.RoutingEnrichmentsResponse 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.azurenative.eventgrid.outputs.DynamicRoutingEnrichmentResponse;
import com.pulumi.azurenative.eventgrid.outputs.StaticRoutingEnrichmentResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class RoutingEnrichmentsResponse {
private @Nullable List dynamic;
private @Nullable List static_;
private RoutingEnrichmentsResponse() {}
public List dynamic() {
return this.dynamic == null ? List.of() : this.dynamic;
}
public List static_() {
return this.static_ == null ? List.of() : this.static_;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RoutingEnrichmentsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List dynamic;
private @Nullable List static_;
public Builder() {}
public Builder(RoutingEnrichmentsResponse defaults) {
Objects.requireNonNull(defaults);
this.dynamic = defaults.dynamic;
this.static_ = defaults.static_;
}
@CustomType.Setter
public Builder dynamic(@Nullable List dynamic) {
this.dynamic = dynamic;
return this;
}
public Builder dynamic(DynamicRoutingEnrichmentResponse... dynamic) {
return dynamic(List.of(dynamic));
}
@CustomType.Setter("static")
public Builder static_(@Nullable List static_) {
this.static_ = static_;
return this;
}
public Builder static_(StaticRoutingEnrichmentResponse... static_) {
return static_(List.of(static_));
}
public RoutingEnrichmentsResponse build() {
final var _resultValue = new RoutingEnrichmentsResponse();
_resultValue.dynamic = dynamic;
_resultValue.static_ = static_;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy