com.pulumi.kubernetes.networking.v1.outputs.IngressLoadBalancerStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes Show documentation
Show all versions of kubernetes Show documentation
A Pulumi package for creating and managing Kubernetes 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.kubernetes.networking.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.kubernetes.networking.v1.outputs.IngressLoadBalancerIngress;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class IngressLoadBalancerStatus {
/**
* @return ingress is a list containing ingress points for the load-balancer.
*
*/
private @Nullable List ingress;
private IngressLoadBalancerStatus() {}
/**
* @return ingress is a list containing ingress points for the load-balancer.
*
*/
public List ingress() {
return this.ingress == null ? List.of() : this.ingress;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IngressLoadBalancerStatus defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List ingress;
public Builder() {}
public Builder(IngressLoadBalancerStatus defaults) {
Objects.requireNonNull(defaults);
this.ingress = defaults.ingress;
}
@CustomType.Setter
public Builder ingress(@Nullable List ingress) {
this.ingress = ingress;
return this;
}
public Builder ingress(IngressLoadBalancerIngress... ingress) {
return ingress(List.of(ingress));
}
public IngressLoadBalancerStatus build() {
final var _resultValue = new IngressLoadBalancerStatus();
_resultValue.ingress = ingress;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy