SeedNode Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. SeedNode
- com.
Implements
public final class SeedNode
implements JsonSerializable<SeedNode>
The SeedNode model.
Constructor Summary
Constructor | Description |
---|---|
SeedNode() |
Creates an instance of Seed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Seed |
fromJson(JsonReader jsonReader)
Reads an instance of Seed |
String |
ipAddress()
Get the ip |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Seed |
withIpAddress(String ipAddress)
Set the ip |
Methods inherited from java.lang.Object
Constructor Details
SeedNode
public SeedNode()
Creates an instance of SeedNode class.
Method Details
fromJson
public static SeedNode fromJson(JsonReader jsonReader)
Reads an instance of SeedNode from the JsonReader.
Parameters:
Returns:
Throws:
ipAddress
public String ipAddress()
Get the ipAddress property: IP address of this seed node.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIpAddress
public SeedNode withIpAddress(String ipAddress)
Set the ipAddress property: IP address of this seed node.
Parameters:
Returns:
Applies to
Azure SDK for Java