
com.pulumi.azurenative.datareplication.outputs.HyperVToAzStackHCINicInputResponse 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.azurenative.datareplication.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class HyperVToAzStackHCINicInputResponse {
/**
* @return Gets or sets the network name.
*
*/
private String networkName;
/**
* @return Gets or sets the NIC Id.
*
*/
private String nicId;
/**
* @return Gets or sets the selection type of the NIC.
*
*/
private String selectionTypeForFailover;
/**
* @return Gets or sets the target network Id within AzStackHCI Cluster.
*
*/
private String targetNetworkId;
/**
* @return Gets or sets the target test network Id within AzStackHCI Cluster.
*
*/
private String testNetworkId;
private HyperVToAzStackHCINicInputResponse() {}
/**
* @return Gets or sets the network name.
*
*/
public String networkName() {
return this.networkName;
}
/**
* @return Gets or sets the NIC Id.
*
*/
public String nicId() {
return this.nicId;
}
/**
* @return Gets or sets the selection type of the NIC.
*
*/
public String selectionTypeForFailover() {
return this.selectionTypeForFailover;
}
/**
* @return Gets or sets the target network Id within AzStackHCI Cluster.
*
*/
public String targetNetworkId() {
return this.targetNetworkId;
}
/**
* @return Gets or sets the target test network Id within AzStackHCI Cluster.
*
*/
public String testNetworkId() {
return this.testNetworkId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HyperVToAzStackHCINicInputResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String networkName;
private String nicId;
private String selectionTypeForFailover;
private String targetNetworkId;
private String testNetworkId;
public Builder() {}
public Builder(HyperVToAzStackHCINicInputResponse defaults) {
Objects.requireNonNull(defaults);
this.networkName = defaults.networkName;
this.nicId = defaults.nicId;
this.selectionTypeForFailover = defaults.selectionTypeForFailover;
this.targetNetworkId = defaults.targetNetworkId;
this.testNetworkId = defaults.testNetworkId;
}
@CustomType.Setter
public Builder networkName(String networkName) {
if (networkName == null) {
throw new MissingRequiredPropertyException("HyperVToAzStackHCINicInputResponse", "networkName");
}
this.networkName = networkName;
return this;
}
@CustomType.Setter
public Builder nicId(String nicId) {
if (nicId == null) {
throw new MissingRequiredPropertyException("HyperVToAzStackHCINicInputResponse", "nicId");
}
this.nicId = nicId;
return this;
}
@CustomType.Setter
public Builder selectionTypeForFailover(String selectionTypeForFailover) {
if (selectionTypeForFailover == null) {
throw new MissingRequiredPropertyException("HyperVToAzStackHCINicInputResponse", "selectionTypeForFailover");
}
this.selectionTypeForFailover = selectionTypeForFailover;
return this;
}
@CustomType.Setter
public Builder targetNetworkId(String targetNetworkId) {
if (targetNetworkId == null) {
throw new MissingRequiredPropertyException("HyperVToAzStackHCINicInputResponse", "targetNetworkId");
}
this.targetNetworkId = targetNetworkId;
return this;
}
@CustomType.Setter
public Builder testNetworkId(String testNetworkId) {
if (testNetworkId == null) {
throw new MissingRequiredPropertyException("HyperVToAzStackHCINicInputResponse", "testNetworkId");
}
this.testNetworkId = testNetworkId;
return this;
}
public HyperVToAzStackHCINicInputResponse build() {
final var _resultValue = new HyperVToAzStackHCINicInputResponse();
_resultValue.networkName = networkName;
_resultValue.nicId = nicId;
_resultValue.selectionTypeForFailover = selectionTypeForFailover;
_resultValue.targetNetworkId = targetNetworkId;
_resultValue.testNetworkId = testNetworkId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy