com.pulumi.alicloud.alb.outputs.RuleRuleConditionHostConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.alicloud.alb.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class RuleRuleConditionHostConfig {
/**
* @return Add one or more IP addresses or IP address segments. You can add up to 5 forwarding rules in a SourceIp.
*
*/
private @Nullable List values;
private RuleRuleConditionHostConfig() {}
/**
* @return Add one or more IP addresses or IP address segments. You can add up to 5 forwarding rules in a SourceIp.
*
*/
public List values() {
return this.values == null ? List.of() : this.values;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RuleRuleConditionHostConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List values;
public Builder() {}
public Builder(RuleRuleConditionHostConfig defaults) {
Objects.requireNonNull(defaults);
this.values = defaults.values;
}
@CustomType.Setter
public Builder values(@Nullable List values) {
this.values = values;
return this;
}
public Builder values(String... values) {
return values(List.of(values));
}
public RuleRuleConditionHostConfig build() {
final var _resultValue = new RuleRuleConditionHostConfig();
_resultValue.values = values;
return _resultValue;
}
}
}