
com.pulumi.azurenative.managednetworkfabric.outputs.GetNetworkInterfaceResult 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.managednetworkfabric.outputs;
import com.pulumi.azurenative.managednetworkfabric.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetNetworkInterfaceResult {
/**
* @return administrativeState of the network interface. Example: Enabled | Disabled.
*
*/
private String administrativeState;
/**
* @return Switch configuration description.
*
*/
private @Nullable String annotation;
/**
* @return The arm resource id of the interface or compute server its connected to.
*
*/
private String connectedTo;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return The Interface Type. Example: Management/Data
*
*/
private String interfaceType;
/**
* @return ipv4Address.
*
*/
private String ipv4Address;
/**
* @return ipv6Address.
*
*/
private String ipv6Address;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return physicalIdentifier of the network interface.
*
*/
private String physicalIdentifier;
/**
* @return Gets the provisioning state of the resource.
*
*/
private String provisioningState;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetNetworkInterfaceResult() {}
/**
* @return administrativeState of the network interface. Example: Enabled | Disabled.
*
*/
public String administrativeState() {
return this.administrativeState;
}
/**
* @return Switch configuration description.
*
*/
public Optional annotation() {
return Optional.ofNullable(this.annotation);
}
/**
* @return The arm resource id of the interface or compute server its connected to.
*
*/
public String connectedTo() {
return this.connectedTo;
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return The Interface Type. Example: Management/Data
*
*/
public String interfaceType() {
return this.interfaceType;
}
/**
* @return ipv4Address.
*
*/
public String ipv4Address() {
return this.ipv4Address;
}
/**
* @return ipv6Address.
*
*/
public String ipv6Address() {
return this.ipv6Address;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return physicalIdentifier of the network interface.
*
*/
public String physicalIdentifier() {
return this.physicalIdentifier;
}
/**
* @return Gets the provisioning state of the resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetNetworkInterfaceResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String administrativeState;
private @Nullable String annotation;
private String connectedTo;
private String id;
private String interfaceType;
private String ipv4Address;
private String ipv6Address;
private String name;
private String physicalIdentifier;
private String provisioningState;
private SystemDataResponse systemData;
private String type;
public Builder() {}
public Builder(GetNetworkInterfaceResult defaults) {
Objects.requireNonNull(defaults);
this.administrativeState = defaults.administrativeState;
this.annotation = defaults.annotation;
this.connectedTo = defaults.connectedTo;
this.id = defaults.id;
this.interfaceType = defaults.interfaceType;
this.ipv4Address = defaults.ipv4Address;
this.ipv6Address = defaults.ipv6Address;
this.name = defaults.name;
this.physicalIdentifier = defaults.physicalIdentifier;
this.provisioningState = defaults.provisioningState;
this.systemData = defaults.systemData;
this.type = defaults.type;
}
@CustomType.Setter
public Builder administrativeState(String administrativeState) {
if (administrativeState == null) {
throw new MissingRequiredPropertyException("GetNetworkInterfaceResult", "administrativeState");
}
this.administrativeState = administrativeState;
return this;
}
@CustomType.Setter
public Builder annotation(@Nullable String annotation) {
this.annotation = annotation;
return this;
}
@CustomType.Setter
public Builder connectedTo(String connectedTo) {
if (connectedTo == null) {
throw new MissingRequiredPropertyException("GetNetworkInterfaceResult", "connectedTo");
}
this.connectedTo = connectedTo;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetNetworkInterfaceResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder interfaceType(String interfaceType) {
if (interfaceType == null) {
throw new MissingRequiredPropertyException("GetNetworkInterfaceResult", "interfaceType");
}
this.interfaceType = interfaceType;
return this;
}
@CustomType.Setter
public Builder ipv4Address(String ipv4Address) {
if (ipv4Address == null) {
throw new MissingRequiredPropertyException("GetNetworkInterfaceResult", "ipv4Address");
}
this.ipv4Address = ipv4Address;
return this;
}
@CustomType.Setter
public Builder ipv6Address(String ipv6Address) {
if (ipv6Address == null) {
throw new MissingRequiredPropertyException("GetNetworkInterfaceResult", "ipv6Address");
}
this.ipv6Address = ipv6Address;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetNetworkInterfaceResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder physicalIdentifier(String physicalIdentifier) {
if (physicalIdentifier == null) {
throw new MissingRequiredPropertyException("GetNetworkInterfaceResult", "physicalIdentifier");
}
this.physicalIdentifier = physicalIdentifier;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetNetworkInterfaceResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetNetworkInterfaceResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetNetworkInterfaceResult", "type");
}
this.type = type;
return this;
}
public GetNetworkInterfaceResult build() {
final var _resultValue = new GetNetworkInterfaceResult();
_resultValue.administrativeState = administrativeState;
_resultValue.annotation = annotation;
_resultValue.connectedTo = connectedTo;
_resultValue.id = id;
_resultValue.interfaceType = interfaceType;
_resultValue.ipv4Address = ipv4Address;
_resultValue.ipv6Address = ipv6Address;
_resultValue.name = name;
_resultValue.physicalIdentifier = physicalIdentifier;
_resultValue.provisioningState = provisioningState;
_resultValue.systemData = systemData;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy