Subnet (Azure SDK for Java Reference Documentation)
Andrew Henderson
Published Feb 17, 2026
Constructor Summary
Constructors Constructor and Description Subnet()
Constructor Detail
Subnet
public Subnet()
Method Detail
withId
public Subnet withId(String id)
Set the id property: Resource ID of Virtual Network Subnet.
- Parameters:
id- the id value to set.- Returns:
- the Subnet object itself.
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException- thrown if the instance is not valid.
Copyright © 2020 Microsoft Corporation. All rights reserved.