NetworkInterfaceAssociation Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. NetworkInterfaceAssociation
- com.
Implements
public final class NetworkInterfaceAssociation
implements JsonSerializable<NetworkInterfaceAssociation>
Network interface and its custom security rules.
Constructor Summary
Constructor | Description |
---|---|
NetworkInterfaceAssociation() |
Creates an instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
String |
id()
Get the id property: Network interface ID. |
List<Security |
securityRules()
Get the security |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Network |
withSecurityRules(List<SecurityRuleInner> securityRules)
Set the security |
Methods inherited from java.lang.Object
Constructor Details
NetworkInterfaceAssociation
public NetworkInterfaceAssociation()
Creates an instance of NetworkInterfaceAssociation class.
Method Details
fromJson
public static NetworkInterfaceAssociation fromJson(JsonReader jsonReader)
Reads an instance of NetworkInterfaceAssociation from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Network interface ID.
Returns:
securityRules
public List
Get the securityRules property: Collection of custom security rules.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSecurityRules
public NetworkInterfaceAssociation withSecurityRules(List
Set the securityRules property: Collection of custom security rules.
Parameters:
Returns:
Applies to
Azure SDK for Java