VirtualApplianceNicProperties.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.models;
import com.azure.core.annotation.Immutable;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Network Virtual Appliance NIC properties. */
@Immutable
public final class VirtualApplianceNicProperties {
@JsonIgnore private final ClientLogger logger = new ClientLogger(VirtualApplianceNicProperties.class);
/*
* NIC name.
*/
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private String name;
/*
* Public IP address.
*/
@JsonProperty(value = "publicIpAddress", access = JsonProperty.Access.WRITE_ONLY)
private String publicIpAddress;
/*
* Private IP address.
*/
@JsonProperty(value = "privateIpAddress", access = JsonProperty.Access.WRITE_ONLY)
private String privateIpAddress;
/**
* Get the name property: NIC name.
*
* @return the name value.
*/
public String name() {
return this.name;
}
/**
* Get the publicIpAddress property: Public IP address.
*
* @return the publicIpAddress value.
*/
public String publicIpAddress() {
return this.publicIpAddress;
}
/**
* Get the privateIpAddress property: Private IP address.
*
* @return the privateIpAddress value.
*/
public String privateIpAddress() {
return this.privateIpAddress;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}