com.ovhcloud.pulumi.ovh.Dedicated.outputs.GetServerSpecificationsNetworkRoutingIpv6 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.Dedicated.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetServerSpecificationsNetworkRoutingIpv6 {
/**
* @return Server gateway
*
*/
private String gateway;
/**
* @return Server main IP
*
*/
private String ip;
/**
* @return Server network
*
*/
private String network;
private GetServerSpecificationsNetworkRoutingIpv6() {}
/**
* @return Server gateway
*
*/
public String gateway() {
return this.gateway;
}
/**
* @return Server main IP
*
*/
public String ip() {
return this.ip;
}
/**
* @return Server network
*
*/
public String network() {
return this.network;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetServerSpecificationsNetworkRoutingIpv6 defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String gateway;
private String ip;
private String network;
public Builder() {}
public Builder(GetServerSpecificationsNetworkRoutingIpv6 defaults) {
Objects.requireNonNull(defaults);
this.gateway = defaults.gateway;
this.ip = defaults.ip;
this.network = defaults.network;
}
@CustomType.Setter
public Builder gateway(String gateway) {
if (gateway == null) {
throw new MissingRequiredPropertyException("GetServerSpecificationsNetworkRoutingIpv6", "gateway");
}
this.gateway = gateway;
return this;
}
@CustomType.Setter
public Builder ip(String ip) {
if (ip == null) {
throw new MissingRequiredPropertyException("GetServerSpecificationsNetworkRoutingIpv6", "ip");
}
this.ip = ip;
return this;
}
@CustomType.Setter
public Builder network(String network) {
if (network == null) {
throw new MissingRequiredPropertyException("GetServerSpecificationsNetworkRoutingIpv6", "network");
}
this.network = network;
return this;
}
public GetServerSpecificationsNetworkRoutingIpv6 build() {
final var _resultValue = new GetServerSpecificationsNetworkRoutingIpv6();
_resultValue.gateway = gateway;
_resultValue.ip = ip;
_resultValue.network = network;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy