Interface DnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntry<ParentT>
-
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
DnsRecordSet.UpdateDefinition<ParentT>,DnsRecordSet.UpdateDefinitionStages.SrvRecordSetBlank<ParentT>,DnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntryOrAttachable<ParentT>
- Enclosing interface:
- DnsRecordSet.UpdateDefinitionStages
public static interface DnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntry<ParentT>The stage of the SRV record definition allowing to add first service record.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntryOrAttachable<ParentT>withRecord(String target, int port, int priority, int weight)Specifies a service record for a service.
-
-
-
Method Detail
-
withRecord
DnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntryOrAttachable<ParentT> withRecord(String target, int port, int priority, int weight)
Specifies a service record for a service.- Parameters:
target- the canonical name of the target host running the serviceport- the port on which the service is boundedpriority- the priority of the target host, lower the value higher the priorityweight- the relative weight (preference) of the records with the same priority, higher the value more the preference- Returns:
- the next stage of the definition
-
-