com.pulumi.spotinst.outputs.ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotinst Show documentation
Show all versions of spotinst Show documentation
A Pulumi package for creating and managing spotinst cloud resources.
The newest version!
// *** 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.spotinst.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfig {
private String name;
private @Nullable String privateIpVersion;
private ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfig() {}
public String name() {
return this.name;
}
public Optional privateIpVersion() {
return Optional.ofNullable(this.privateIpVersion);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String name;
private @Nullable String privateIpVersion;
public Builder() {}
public Builder(ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfig defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.privateIpVersion = defaults.privateIpVersion;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfig", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder privateIpVersion(@Nullable String privateIpVersion) {
this.privateIpVersion = privateIpVersion;
return this;
}
public ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfig build() {
final var _resultValue = new ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfig();
_resultValue.name = name;
_resultValue.privateIpVersion = privateIpVersion;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy