Interface DnsRecordSet.DefinitionStages.WithTtl<ParentT>

Type Parameters:
ParentT - the stage of the parent definition to return to after attaching this definition
All Known Subinterfaces:
DnsRecordSet.Definition<ParentT>, DnsRecordSet.DefinitionStages.WithAaaaRecordIPv6AddressOrAttachable<ParentT>, DnsRecordSet.DefinitionStages.WithARecordIPv4AddressOrAttachable<ParentT>, DnsRecordSet.DefinitionStages.WithAttach<ParentT>, DnsRecordSet.DefinitionStages.WithCaaRecordEntryOrAttachable<ParentT>, DnsRecordSet.DefinitionStages.WithCNameRecordSetAttachable<ParentT>, DnsRecordSet.DefinitionStages.WithMXRecordMailExchangeOrAttachable<ParentT>, DnsRecordSet.DefinitionStages.WithNSRecordNameServerOrAttachable<ParentT>, DnsRecordSet.DefinitionStages.WithPtrRecordTargetDomainNameOrAttachable<ParentT>, DnsRecordSet.DefinitionStages.WithSrvRecordEntryOrAttachable<ParentT>, DnsRecordSet.DefinitionStages.WithTxtRecordTextValueOrAttachable<ParentT>
Enclosing interface:
DnsRecordSet.DefinitionStages

public static interface DnsRecordSet.DefinitionStages.WithTtl<ParentT>
The stage of the record set definition allowing to specify the Time To Live (TTL) for the records in this record set.
  • Method Details

    • withTimeToLive

      DnsRecordSet.DefinitionStages.WithAttach<ParentT> withTimeToLive(long ttlInSeconds)
      Specifies the Time To Live for the records in the record set.
      Parameters:
      ttlInSeconds - TTL in seconds
      Returns:
      the next stage of the definition