Class ReferencedPublicIpAddress
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ReferencedPublicIpAddress
-
public final class ReferencedPublicIpAddress extends Object
Reference to a public IP address.
-
-
Constructor Summary
Constructors Constructor Description ReferencedPublicIpAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: The PublicIPAddress Reference.voidvalidate()Validates the instance.ReferencedPublicIpAddresswithId(String id)Set the id property: The PublicIPAddress Reference.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The PublicIPAddress Reference.- Returns:
- the id value.
-
withId
public ReferencedPublicIpAddress withId(String id)
Set the id property: The PublicIPAddress Reference.- Parameters:
id- the id value to set.- Returns:
- the ReferencedPublicIpAddress object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-