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

com.pulumi.azurenative.networkcloud.outputs.HardwareInventoryNetworkInterfaceResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show 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.azurenative.networkcloud.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class HardwareInventoryNetworkInterfaceResponse {
    /**
     * @return The current status of the link.
     * 
     */
    private String linkStatus;
    /**
     * @return The MAC address associated with this interface.
     * 
     */
    private String macAddress;
    /**
     * @return The name of the interface.
     * 
     */
    private String name;
    /**
     * @return The resource ID of the network interface for the port on the switch that this machine's interface is connected to.
     * 
     */
    private String networkInterfaceId;

    private HardwareInventoryNetworkInterfaceResponse() {}
    /**
     * @return The current status of the link.
     * 
     */
    public String linkStatus() {
        return this.linkStatus;
    }
    /**
     * @return The MAC address associated with this interface.
     * 
     */
    public String macAddress() {
        return this.macAddress;
    }
    /**
     * @return The name of the interface.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The resource ID of the network interface for the port on the switch that this machine's interface is connected to.
     * 
     */
    public String networkInterfaceId() {
        return this.networkInterfaceId;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(HardwareInventoryNetworkInterfaceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String linkStatus;
        private String macAddress;
        private String name;
        private String networkInterfaceId;
        public Builder() {}
        public Builder(HardwareInventoryNetworkInterfaceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.linkStatus = defaults.linkStatus;
    	      this.macAddress = defaults.macAddress;
    	      this.name = defaults.name;
    	      this.networkInterfaceId = defaults.networkInterfaceId;
        }

        @CustomType.Setter
        public Builder linkStatus(String linkStatus) {
            if (linkStatus == null) {
              throw new MissingRequiredPropertyException("HardwareInventoryNetworkInterfaceResponse", "linkStatus");
            }
            this.linkStatus = linkStatus;
            return this;
        }
        @CustomType.Setter
        public Builder macAddress(String macAddress) {
            if (macAddress == null) {
              throw new MissingRequiredPropertyException("HardwareInventoryNetworkInterfaceResponse", "macAddress");
            }
            this.macAddress = macAddress;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("HardwareInventoryNetworkInterfaceResponse", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder networkInterfaceId(String networkInterfaceId) {
            if (networkInterfaceId == null) {
              throw new MissingRequiredPropertyException("HardwareInventoryNetworkInterfaceResponse", "networkInterfaceId");
            }
            this.networkInterfaceId = networkInterfaceId;
            return this;
        }
        public HardwareInventoryNetworkInterfaceResponse build() {
            final var _resultValue = new HardwareInventoryNetworkInterfaceResponse();
            _resultValue.linkStatus = linkStatus;
            _resultValue.macAddress = macAddress;
            _resultValue.name = name;
            _resultValue.networkInterfaceId = networkInterfaceId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy