com.ovhcloud.pulumi.ovh.Vrack.IpLoadbalancingArgs 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.Vrack;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class IpLoadbalancingArgs extends com.pulumi.resources.ResourceArgs {
public static final IpLoadbalancingArgs Empty = new IpLoadbalancingArgs();
/**
* The id of the IP Load Balancing.
*
*/
@Import(name="LoadbalancingId", required=true)
private Output LoadbalancingId;
/**
* @return The id of the IP Load Balancing.
*
*/
public Output LoadbalancingId() {
return this.LoadbalancingId;
}
/**
* The id of the vrack.
*
*/
@Import(name="serviceName", required=true)
private Output serviceName;
/**
* @return The id of the vrack.
*
*/
public Output serviceName() {
return this.serviceName;
}
private IpLoadbalancingArgs() {}
private IpLoadbalancingArgs(IpLoadbalancingArgs $) {
this.LoadbalancingId = $.LoadbalancingId;
this.serviceName = $.serviceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IpLoadbalancingArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private IpLoadbalancingArgs $;
public Builder() {
$ = new IpLoadbalancingArgs();
}
public Builder(IpLoadbalancingArgs defaults) {
$ = new IpLoadbalancingArgs(Objects.requireNonNull(defaults));
}
/**
* @param LoadbalancingId The id of the IP Load Balancing.
*
* @return builder
*
*/
public Builder LoadbalancingId(Output LoadbalancingId) {
$.LoadbalancingId = LoadbalancingId;
return this;
}
/**
* @param LoadbalancingId The id of the IP Load Balancing.
*
* @return builder
*
*/
public Builder LoadbalancingId(String LoadbalancingId) {
return LoadbalancingId(Output.of(LoadbalancingId));
}
/**
* @param serviceName The id of the vrack.
*
* @return builder
*
*/
public Builder serviceName(Output serviceName) {
$.serviceName = serviceName;
return this;
}
/**
* @param serviceName The id of the vrack.
*
* @return builder
*
*/
public Builder serviceName(String serviceName) {
return serviceName(Output.of(serviceName));
}
public IpLoadbalancingArgs build() {
if ($.LoadbalancingId == null) {
throw new MissingRequiredPropertyException("IpLoadbalancingArgs", "LoadbalancingId");
}
if ($.serviceName == null) {
throw new MissingRequiredPropertyException("IpLoadbalancingArgs", "serviceName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy