Class SeedNode
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.SeedNode
-
public final class SeedNode extends Object
The SeedNode model.
-
-
Constructor Summary
Constructors Constructor Description SeedNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringipAddress()Get the ipAddress property: IP address of this seed node.voidvalidate()Validates the instance.SeedNodewithIpAddress(String ipAddress)Set the ipAddress property: IP address of this seed node.
-
-
-
Method Detail
-
ipAddress
public String ipAddress()
Get the ipAddress property: IP address of this seed node.- Returns:
- the ipAddress value.
-
withIpAddress
public SeedNode withIpAddress(String ipAddress)
Set the ipAddress property: IP address of this seed node.- Parameters:
ipAddress- the ipAddress value to set.- Returns:
- the SeedNode object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-