NsRecord Class
- java.
lang. Object - com.
azure. resourcemanager. dns. models. NsRecord
- com.
Implements
public final class NsRecord
implements JsonSerializable<NsRecord>
An NS record.
Constructor Summary
Constructor | Description |
---|---|
NsRecord() |
Creates an instance of Ns |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Ns |
fromJson(JsonReader jsonReader)
Reads an instance of Ns |
String |
nsdname()
Get the nsdname property: The name server name for this NS record. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Ns |
withNsdname(String nsdname)
Set the nsdname property: The name server name for this NS record. |
Methods inherited from java.lang.Object
Constructor Details
NsRecord
public NsRecord()
Creates an instance of NsRecord class.
Method Details
fromJson
public static NsRecord fromJson(JsonReader jsonReader)
Reads an instance of NsRecord from the JsonReader.
Parameters:
Returns:
Throws:
nsdname
public String nsdname()
Get the nsdname property: The name server name for this NS record.
Returns:
toJson
validate
public void validate()
Validates the instance.
withNsdname
public NsRecord withNsdname(String nsdname)
Set the nsdname property: The name server name for this NS record.
Parameters:
Returns:
Applies to
Azure SDK for Java