com.pulumi.azure.stack.outputs.HciDeploymentSettingScaleUnitHostNetworkStorageNetwork Maven / Gradle / Ivy
// *** 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.azure.stack.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class HciDeploymentSettingScaleUnitHostNetworkStorageNetwork {
/**
* @return The name of the storage network. Changing this forces a new Stack HCI Deployment Setting to be created.
*
*/
private String name;
/**
* @return The name of the network adapter. Changing this forces a new Stack HCI Deployment Setting to be created.
*
*/
private String networkAdapterName;
/**
* @return Specifies the ID for the VLAN storage network. This setting is applied to the network interfaces that route the storage and VM migration traffic. Changing this forces a new Stack HCI Deployment Setting to be created.
*
*/
private String vlanId;
private HciDeploymentSettingScaleUnitHostNetworkStorageNetwork() {}
/**
* @return The name of the storage network. Changing this forces a new Stack HCI Deployment Setting to be created.
*
*/
public String name() {
return this.name;
}
/**
* @return The name of the network adapter. Changing this forces a new Stack HCI Deployment Setting to be created.
*
*/
public String networkAdapterName() {
return this.networkAdapterName;
}
/**
* @return Specifies the ID for the VLAN storage network. This setting is applied to the network interfaces that route the storage and VM migration traffic. Changing this forces a new Stack HCI Deployment Setting to be created.
*
*/
public String vlanId() {
return this.vlanId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HciDeploymentSettingScaleUnitHostNetworkStorageNetwork defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String name;
private String networkAdapterName;
private String vlanId;
public Builder() {}
public Builder(HciDeploymentSettingScaleUnitHostNetworkStorageNetwork defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.networkAdapterName = defaults.networkAdapterName;
this.vlanId = defaults.vlanId;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("HciDeploymentSettingScaleUnitHostNetworkStorageNetwork", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder networkAdapterName(String networkAdapterName) {
if (networkAdapterName == null) {
throw new MissingRequiredPropertyException("HciDeploymentSettingScaleUnitHostNetworkStorageNetwork", "networkAdapterName");
}
this.networkAdapterName = networkAdapterName;
return this;
}
@CustomType.Setter
public Builder vlanId(String vlanId) {
if (vlanId == null) {
throw new MissingRequiredPropertyException("HciDeploymentSettingScaleUnitHostNetworkStorageNetwork", "vlanId");
}
this.vlanId = vlanId;
return this;
}
public HciDeploymentSettingScaleUnitHostNetworkStorageNetwork build() {
final var _resultValue = new HciDeploymentSettingScaleUnitHostNetworkStorageNetwork();
_resultValue.name = name;
_resultValue.networkAdapterName = networkAdapterName;
_resultValue.vlanId = vlanId;
return _resultValue;
}
}
}