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