com.pulumi.azurenative.connectedvmwarevsphere.outputs.NicIPAddressSettingsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.connectedvmwarevsphere.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class NicIPAddressSettingsResponse {
/**
* @return Gets the ip address allocation method.
*
*/
private String allocationMethod;
/**
* @return Gets the ip address for the nic.
*
*/
private String ipAddress;
/**
* @return Gets the mask.
*
*/
private String subnetMask;
private NicIPAddressSettingsResponse() {}
/**
* @return Gets the ip address allocation method.
*
*/
public String allocationMethod() {
return this.allocationMethod;
}
/**
* @return Gets the ip address for the nic.
*
*/
public String ipAddress() {
return this.ipAddress;
}
/**
* @return Gets the mask.
*
*/
public String subnetMask() {
return this.subnetMask;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NicIPAddressSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String allocationMethod;
private String ipAddress;
private String subnetMask;
public Builder() {}
public Builder(NicIPAddressSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.allocationMethod = defaults.allocationMethod;
this.ipAddress = defaults.ipAddress;
this.subnetMask = defaults.subnetMask;
}
@CustomType.Setter
public Builder allocationMethod(String allocationMethod) {
if (allocationMethod == null) {
throw new MissingRequiredPropertyException("NicIPAddressSettingsResponse", "allocationMethod");
}
this.allocationMethod = allocationMethod;
return this;
}
@CustomType.Setter
public Builder ipAddress(String ipAddress) {
if (ipAddress == null) {
throw new MissingRequiredPropertyException("NicIPAddressSettingsResponse", "ipAddress");
}
this.ipAddress = ipAddress;
return this;
}
@CustomType.Setter
public Builder subnetMask(String subnetMask) {
if (subnetMask == null) {
throw new MissingRequiredPropertyException("NicIPAddressSettingsResponse", "subnetMask");
}
this.subnetMask = subnetMask;
return this;
}
public NicIPAddressSettingsResponse build() {
final var _resultValue = new NicIPAddressSettingsResponse();
_resultValue.allocationMethod = allocationMethod;
_resultValue.ipAddress = ipAddress;
_resultValue.subnetMask = subnetMask;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy