DnsRecordSet.UpdateStages.WithTxtRecordTextValue Interface

public static interface DnsRecordSet.UpdateStages.WithTxtRecordTextValue

The stage of the Txt record definition allowing to add or remove TXT record.

Method Summary

Modifier and Type Method and Description
abstract UpdateTxtRecordSet withText(String text)

Creates a Txt record with the given text in this record set.

abstract UpdateTxtRecordSet withoutText(String text)

Removes a Txt record with the given text from this record set.

abstract UpdateTxtRecordSet withoutText(List<String> textChunks)

Removes a Txt record with the given text (split into 255 char chunks) from this record set.

Method Details

withText

public abstract DnsRecordSet.UpdateTxtRecordSet withText(String text)

Creates a Txt record with the given text in this record set.

Parameters:

text - the text value

Returns:

the next stage of the record set update

withoutText

public abstract DnsRecordSet.UpdateTxtRecordSet withoutText(String text)

Removes a Txt record with the given text from this record set.

Parameters:

text - the text value

Returns:

the next stage of the record set update

withoutText

public abstract DnsRecordSet.UpdateTxtRecordSet withoutText(List textChunks)

Removes a Txt record with the given text (split into 255 char chunks) from this record set.

Parameters:

textChunks - the text value as list

Returns:

the next stage of the record set update

Applies to