Interface PrivateDnsRecordSet.UpdateStages.WithSrvRecordEntry
-
- All Known Subinterfaces:
PrivateDnsRecordSet.UpdateCombined,PrivateDnsRecordSet.UpdateSrvRecordSet
- Enclosing interface:
- PrivateDnsRecordSet.UpdateStages
public static interface PrivateDnsRecordSet.UpdateStages.WithSrvRecordEntryThe stage of the SRV record definition allowing to add or remove service record.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrivateDnsRecordSet.UpdateSrvRecordSetwithoutRecord(String target, int port, int priority, int weight)Removes a service record for a service.PrivateDnsRecordSet.UpdateSrvRecordSetwithRecord(String target, int port, int priority, int weight)Specifies a service record for a service.
-
-
-
Method Detail
-
withRecord
PrivateDnsRecordSet.UpdateSrvRecordSet 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 record set update
-
withoutRecord
PrivateDnsRecordSet.UpdateSrvRecordSet withoutRecord(String target, int port, int priority, int weight)
Removes 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 hostweight- the relative weight (preference) of the records- Returns:
- the next stage of the record set update
-
-