com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetLoadBalancerFloatingIp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH 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.ovhcloud.pulumi.ovh.CloudProject.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetLoadBalancerFloatingIp {
/**
* @return ID of the loadbalancer
*
*/
private String id;
/**
* @return Value of the floating IP
*
*/
private String ip;
private GetLoadBalancerFloatingIp() {}
/**
* @return ID of the loadbalancer
*
*/
public String id() {
return this.id;
}
/**
* @return Value of the floating IP
*
*/
public String ip() {
return this.ip;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLoadBalancerFloatingIp defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String ip;
public Builder() {}
public Builder(GetLoadBalancerFloatingIp defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.ip = defaults.ip;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetLoadBalancerFloatingIp", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder ip(String ip) {
if (ip == null) {
throw new MissingRequiredPropertyException("GetLoadBalancerFloatingIp", "ip");
}
this.ip = ip;
return this;
}
public GetLoadBalancerFloatingIp build() {
final var _resultValue = new GetLoadBalancerFloatingIp();
_resultValue.id = id;
_resultValue.ip = ip;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy