com.pulumi.kubernetes.networking.v1.outputs.IngressStatusPatch 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.IngressLoadBalancerStatusPatch;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class IngressStatusPatch {
/**
* @return loadBalancer contains the current status of the load-balancer.
*
*/
private @Nullable IngressLoadBalancerStatusPatch loadBalancer;
private IngressStatusPatch() {}
/**
* @return loadBalancer contains the current status of the load-balancer.
*
*/
public Optional loadBalancer() {
return Optional.ofNullable(this.loadBalancer);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IngressStatusPatch defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable IngressLoadBalancerStatusPatch loadBalancer;
public Builder() {}
public Builder(IngressStatusPatch defaults) {
Objects.requireNonNull(defaults);
this.loadBalancer = defaults.loadBalancer;
}
@CustomType.Setter
public Builder loadBalancer(@Nullable IngressLoadBalancerStatusPatch loadBalancer) {
this.loadBalancer = loadBalancer;
return this;
}
public IngressStatusPatch build() {
final var _resultValue = new IngressStatusPatch();
_resultValue.loadBalancer = loadBalancer;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy