SrvRecord Class
- java.
lang. Object - com.
microsoft. azure. management. dns. SrvRecord
- com.
public class SrvRecord
An SRV record.
Constructor Summary
Constructor | Description | |
---|---|---|
SrvRecord() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
port()
Get the port value. |
java.lang.Integer |
priority()
Get the priority value. |
java.lang.String |
target()
Get the target value. |
java.lang.Integer |
weight()
Get the weight value. |
Srv |
withPort(Integer port)
Set the port value. |
Srv |
withPriority(Integer priority)
Set the priority value. |
Srv |
withTarget(String target)
Set the target value. |
Srv |
withWeight(Integer weight)
Set the weight value. |
Methods inherited from java.lang.Object
Constructor Details
SrvRecord
public SrvRecord()
Method Details
port
public Integer port()
Get the port value.
Returns:
priority
public Integer priority()
Get the priority value.
Returns:
target
public String target()
Get the target value.
Returns:
weight
public Integer weight()
Get the weight value.
Returns:
withPort
public SrvRecord withPort(Integer port)
Set the port value.
Parameters:
Returns:
withPriority
public SrvRecord withPriority(Integer priority)
Set the priority value.
Parameters:
Returns:
withTarget
public SrvRecord withTarget(String target)
Set the target value.
Parameters:
Returns:
withWeight
public SrvRecord withWeight(Integer weight)
Set the weight value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for