All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.datareplication.outputs.VMwareToAzStackHCIProtectedNicPropertiesResponse 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.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class VMwareToAzStackHCIProtectedNicPropertiesResponse {
    /**
     * @return Gets or sets a value indicating whether this is the primary NIC.
     * 
     */
    private @Nullable Boolean isPrimaryNic;
    /**
     * @return Gets or sets the NIC label.
     * 
     */
    private String label;
    /**
     * @return Gets or sets the NIC mac address.
     * 
     */
    private String macAddress;
    /**
     * @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 VMwareToAzStackHCIProtectedNicPropertiesResponse() {}
    /**
     * @return Gets or sets a value indicating whether this is the primary NIC.
     * 
     */
    public Optional isPrimaryNic() {
        return Optional.ofNullable(this.isPrimaryNic);
    }
    /**
     * @return Gets or sets the NIC label.
     * 
     */
    public String label() {
        return this.label;
    }
    /**
     * @return Gets or sets the NIC mac address.
     * 
     */
    public String macAddress() {
        return this.macAddress;
    }
    /**
     * @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(VMwareToAzStackHCIProtectedNicPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean isPrimaryNic;
        private String label;
        private String macAddress;
        private String networkName;
        private String nicId;
        private String selectionTypeForFailover;
        private String targetNetworkId;
        private String testNetworkId;
        public Builder() {}
        public Builder(VMwareToAzStackHCIProtectedNicPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.isPrimaryNic = defaults.isPrimaryNic;
    	      this.label = defaults.label;
    	      this.macAddress = defaults.macAddress;
    	      this.networkName = defaults.networkName;
    	      this.nicId = defaults.nicId;
    	      this.selectionTypeForFailover = defaults.selectionTypeForFailover;
    	      this.targetNetworkId = defaults.targetNetworkId;
    	      this.testNetworkId = defaults.testNetworkId;
        }

        @CustomType.Setter
        public Builder isPrimaryNic(@Nullable Boolean isPrimaryNic) {

            this.isPrimaryNic = isPrimaryNic;
            return this;
        }
        @CustomType.Setter
        public Builder label(String label) {
            if (label == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedNicPropertiesResponse", "label");
            }
            this.label = label;
            return this;
        }
        @CustomType.Setter
        public Builder macAddress(String macAddress) {
            if (macAddress == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedNicPropertiesResponse", "macAddress");
            }
            this.macAddress = macAddress;
            return this;
        }
        @CustomType.Setter
        public Builder networkName(String networkName) {
            if (networkName == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedNicPropertiesResponse", "networkName");
            }
            this.networkName = networkName;
            return this;
        }
        @CustomType.Setter
        public Builder nicId(String nicId) {
            if (nicId == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedNicPropertiesResponse", "nicId");
            }
            this.nicId = nicId;
            return this;
        }
        @CustomType.Setter
        public Builder selectionTypeForFailover(String selectionTypeForFailover) {
            if (selectionTypeForFailover == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedNicPropertiesResponse", "selectionTypeForFailover");
            }
            this.selectionTypeForFailover = selectionTypeForFailover;
            return this;
        }
        @CustomType.Setter
        public Builder targetNetworkId(String targetNetworkId) {
            if (targetNetworkId == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedNicPropertiesResponse", "targetNetworkId");
            }
            this.targetNetworkId = targetNetworkId;
            return this;
        }
        @CustomType.Setter
        public Builder testNetworkId(String testNetworkId) {
            if (testNetworkId == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedNicPropertiesResponse", "testNetworkId");
            }
            this.testNetworkId = testNetworkId;
            return this;
        }
        public VMwareToAzStackHCIProtectedNicPropertiesResponse build() {
            final var _resultValue = new VMwareToAzStackHCIProtectedNicPropertiesResponse();
            _resultValue.isPrimaryNic = isPrimaryNic;
            _resultValue.label = label;
            _resultValue.macAddress = macAddress;
            _resultValue.networkName = networkName;
            _resultValue.nicId = nicId;
            _resultValue.selectionTypeForFailover = selectionTypeForFailover;
            _resultValue.targetNetworkId = targetNetworkId;
            _resultValue.testNetworkId = testNetworkId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy