Interface PrivateDnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntry<ParentT>
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
PrivateDnsRecordSet.UpdateDefinition<ParentT>,PrivateDnsRecordSet.UpdateDefinitionStages.SrvRecordSetBlank<ParentT>,PrivateDnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntryOrAttachable<ParentT>
- Enclosing interface:
PrivateDnsRecordSet.UpdateDefinitionStages
public static interface PrivateDnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntry<ParentT>
The stage of the SRV record definition allowing to add first service record.
-
Method Summary
Modifier and TypeMethodDescriptionwithRecord(String target, int port, int priority, int weight) Specifies a service record for a service.
-
Method Details
-
withRecord
PrivateDnsRecordSet.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
-