public static interface DnsRecordSet.UpdateStages.WithSrvRecordEntry
Modifier and Type | Method and Description |
---|---|
DnsRecordSet.UpdateSrvRecordSet |
withoutRecord(String target,
int port,
int priority,
int weight)
Removes a service record for a service.
|
DnsRecordSet.UpdateSrvRecordSet |
withRecord(String target,
int port,
int priority,
int weight)
Specifies a service record for a service.
|
DnsRecordSet.UpdateSrvRecordSet withRecord(String target, int port, int priority, int weight)
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 preferenceDnsRecordSet.UpdateSrvRecordSet withoutRecord(String target, int port, int priority, int weight)
target
- the canonical name of the target host running the serviceport
- the port on which the service is boundedpriority
- the priority of the target hostweight
- the relative weight (preference) of the recordsCopyright © 2019. All rights reserved.