Class DscpConfigurationPropertiesFormat
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.DscpConfigurationPropertiesFormat
-
public final class DscpConfigurationPropertiesFormat extends Object
Differentiated Services Code Point configuration properties.
-
-
Constructor Summary
Constructors Constructor Description DscpConfigurationPropertiesFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NetworkInterfaceInner>associatedNetworkInterfaces()Get the associatedNetworkInterfaces property: Associated Network Interfaces to the DSCP Configuration.List<QosIpRange>destinationIpRanges()Get the destinationIpRanges property: Destination IP ranges.List<QosPortRange>destinationPortRanges()Get the destinationPortRanges property: Destination port ranges.List<Integer>markings()Get the markings property: List of markings to be used in the configuration.ProtocolTypeprotocol()Get the protocol property: RNM supported protocol types.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the DSCP Configuration resource.StringqosCollectionId()Get the qosCollectionId property: Qos Collection ID generated by RNM.List<QosDefinition>qosDefinitionCollection()Get the qosDefinitionCollection property: QoS object definitions.StringresourceGuid()Get the resourceGuid property: The resource GUID property of the DSCP Configuration resource.List<QosIpRange>sourceIpRanges()Get the sourceIpRanges property: Source IP ranges.List<QosPortRange>sourcePortRanges()Get the sourcePortRanges property: Sources port ranges.voidvalidate()Validates the instance.DscpConfigurationPropertiesFormatwithDestinationIpRanges(List<QosIpRange> destinationIpRanges)Set the destinationIpRanges property: Destination IP ranges.DscpConfigurationPropertiesFormatwithDestinationPortRanges(List<QosPortRange> destinationPortRanges)Set the destinationPortRanges property: Destination port ranges.DscpConfigurationPropertiesFormatwithMarkings(List<Integer> markings)Set the markings property: List of markings to be used in the configuration.DscpConfigurationPropertiesFormatwithProtocol(ProtocolType protocol)Set the protocol property: RNM supported protocol types.DscpConfigurationPropertiesFormatwithQosDefinitionCollection(List<QosDefinition> qosDefinitionCollection)Set the qosDefinitionCollection property: QoS object definitions.DscpConfigurationPropertiesFormatwithSourceIpRanges(List<QosIpRange> sourceIpRanges)Set the sourceIpRanges property: Source IP ranges.DscpConfigurationPropertiesFormatwithSourcePortRanges(List<QosPortRange> sourcePortRanges)Set the sourcePortRanges property: Sources port ranges.
-
-
-
Method Detail
-
markings
public List<Integer> markings()
Get the markings property: List of markings to be used in the configuration.- Returns:
- the markings value.
-
withMarkings
public DscpConfigurationPropertiesFormat withMarkings(List<Integer> markings)
Set the markings property: List of markings to be used in the configuration.- Parameters:
markings- the markings value to set.- Returns:
- the DscpConfigurationPropertiesFormat object itself.
-
sourceIpRanges
public List<QosIpRange> sourceIpRanges()
Get the sourceIpRanges property: Source IP ranges.- Returns:
- the sourceIpRanges value.
-
withSourceIpRanges
public DscpConfigurationPropertiesFormat withSourceIpRanges(List<QosIpRange> sourceIpRanges)
Set the sourceIpRanges property: Source IP ranges.- Parameters:
sourceIpRanges- the sourceIpRanges value to set.- Returns:
- the DscpConfigurationPropertiesFormat object itself.
-
destinationIpRanges
public List<QosIpRange> destinationIpRanges()
Get the destinationIpRanges property: Destination IP ranges.- Returns:
- the destinationIpRanges value.
-
withDestinationIpRanges
public DscpConfigurationPropertiesFormat withDestinationIpRanges(List<QosIpRange> destinationIpRanges)
Set the destinationIpRanges property: Destination IP ranges.- Parameters:
destinationIpRanges- the destinationIpRanges value to set.- Returns:
- the DscpConfigurationPropertiesFormat object itself.
-
sourcePortRanges
public List<QosPortRange> sourcePortRanges()
Get the sourcePortRanges property: Sources port ranges.- Returns:
- the sourcePortRanges value.
-
withSourcePortRanges
public DscpConfigurationPropertiesFormat withSourcePortRanges(List<QosPortRange> sourcePortRanges)
Set the sourcePortRanges property: Sources port ranges.- Parameters:
sourcePortRanges- the sourcePortRanges value to set.- Returns:
- the DscpConfigurationPropertiesFormat object itself.
-
destinationPortRanges
public List<QosPortRange> destinationPortRanges()
Get the destinationPortRanges property: Destination port ranges.- Returns:
- the destinationPortRanges value.
-
withDestinationPortRanges
public DscpConfigurationPropertiesFormat withDestinationPortRanges(List<QosPortRange> destinationPortRanges)
Set the destinationPortRanges property: Destination port ranges.- Parameters:
destinationPortRanges- the destinationPortRanges value to set.- Returns:
- the DscpConfigurationPropertiesFormat object itself.
-
protocol
public ProtocolType protocol()
Get the protocol property: RNM supported protocol types.- Returns:
- the protocol value.
-
withProtocol
public DscpConfigurationPropertiesFormat withProtocol(ProtocolType protocol)
Set the protocol property: RNM supported protocol types.- Parameters:
protocol- the protocol value to set.- Returns:
- the DscpConfigurationPropertiesFormat object itself.
-
qosDefinitionCollection
public List<QosDefinition> qosDefinitionCollection()
Get the qosDefinitionCollection property: QoS object definitions.- Returns:
- the qosDefinitionCollection value.
-
withQosDefinitionCollection
public DscpConfigurationPropertiesFormat withQosDefinitionCollection(List<QosDefinition> qosDefinitionCollection)
Set the qosDefinitionCollection property: QoS object definitions.- Parameters:
qosDefinitionCollection- the qosDefinitionCollection value to set.- Returns:
- the DscpConfigurationPropertiesFormat object itself.
-
qosCollectionId
public String qosCollectionId()
Get the qosCollectionId property: Qos Collection ID generated by RNM.- Returns:
- the qosCollectionId value.
-
associatedNetworkInterfaces
public List<NetworkInterfaceInner> associatedNetworkInterfaces()
Get the associatedNetworkInterfaces property: Associated Network Interfaces to the DSCP Configuration.- Returns:
- the associatedNetworkInterfaces value.
-
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the DSCP Configuration resource.- Returns:
- the resourceGuid value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the DSCP Configuration resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-