QosDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. QosDefinition
- com.
Implements
public final class QosDefinition
implements JsonSerializable<QosDefinition>
Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.
Constructor Summary
Constructor | Description |
---|---|
QosDefinition() |
Creates an instance of Qos |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Qos |
destinationIpRanges()
Get the destination |
List<Qos |
destinationPortRanges()
Get the destination |
static
Qos |
fromJson(JsonReader jsonReader)
Reads an instance of Qos |
List<Integer> |
markings()
Get the markings property: List of markings to be used in the configuration. |
Protocol |
protocol()
Get the protocol property: RNM supported protocol types. |
List<Qos |
sourceIpRanges()
Get the source |
List<Qos |
sourcePortRanges()
Get the source |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Qos |
withDestinationIpRanges(List<QosIpRange> destinationIpRanges)
Set the destination |
Qos |
withDestinationPortRanges(List<QosPortRange> destinationPortRanges)
Set the destination |
Qos |
withMarkings(List<Integer> markings)
Set the markings property: List of markings to be used in the configuration. |
Qos |
withProtocol(ProtocolType protocol)
Set the protocol property: RNM supported protocol types. |
Qos |
withSourceIpRanges(List<QosIpRange> sourceIpRanges)
Set the source |
Qos |
withSourcePortRanges(List<QosPortRange> sourcePortRanges)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
QosDefinition
public QosDefinition()
Creates an instance of QosDefinition class.
Method Details
destinationIpRanges
public List
Get the destinationIpRanges property: Destination IP ranges.
Returns:
destinationPortRanges
public List
Get the destinationPortRanges property: Destination port ranges.
Returns:
fromJson
public static QosDefinition fromJson(JsonReader jsonReader)
Reads an instance of QosDefinition from the JsonReader.
Parameters:
Returns:
Throws:
markings
public List
Get the markings property: List of markings to be used in the configuration.
Returns:
protocol
public ProtocolType protocol()
Get the protocol property: RNM supported protocol types.
Returns:
sourceIpRanges
public List
Get the sourceIpRanges property: Source IP ranges.
Returns:
sourcePortRanges
public List
Get the sourcePortRanges property: Sources port ranges.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDestinationIpRanges
public QosDefinition withDestinationIpRanges(List
Set the destinationIpRanges property: Destination IP ranges.
Parameters:
Returns:
withDestinationPortRanges
public QosDefinition withDestinationPortRanges(List
Set the destinationPortRanges property: Destination port ranges.
Parameters:
Returns:
withMarkings
public QosDefinition withMarkings(List
Set the markings property: List of markings to be used in the configuration.
Parameters:
Returns:
withProtocol
public QosDefinition withProtocol(ProtocolType protocol)
Set the protocol property: RNM supported protocol types.
Parameters:
Returns:
withSourceIpRanges
public QosDefinition withSourceIpRanges(List
Set the sourceIpRanges property: Source IP ranges.
Parameters:
Returns:
withSourcePortRanges
public QosDefinition withSourcePortRanges(List
Set the sourcePortRanges property: Sources port ranges.
Parameters:
Returns:
Applies to
Azure SDK for Java