Class ServiceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.mobilenetwork.fluent.models.ServiceInner
-
public final class ServiceInner extends com.azure.core.management.Resource
Service resource.
-
-
Constructor Summary
Constructors Constructor Description ServiceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PccRuleConfiguration>
pccRules()
Get the pccRules property: The set of PCC Rules that make up this service.ProvisioningState
provisioningState()
Get the provisioningState property: The provisioning state of the service resource.int
servicePrecedence()
Get the servicePrecedence property: A precedence value that is used to decide between services when identifying the QoS values to use for a particular Sim.QosPolicy
serviceQosPolicy()
Get the serviceQosPolicy property: The QoS policy to use for packets matching this service.com.azure.core.management.SystemData
systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.ServiceInner
withLocation(String location)
ServiceInner
withPccRules(List<PccRuleConfiguration> pccRules)
Set the pccRules property: The set of PCC Rules that make up this service.ServiceInner
withServicePrecedence(int servicePrecedence)
Set the servicePrecedence property: A precedence value that is used to decide between services when identifying the QoS values to use for a particular Sim.ServiceInner
withServiceQosPolicy(QosPolicy serviceQosPolicy)
Set the serviceQosPolicy property: The QoS policy to use for packets matching this service.ServiceInner
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
withLocation
public ServiceInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public ServiceInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the service resource.- Returns:
- the provisioningState value.
-
servicePrecedence
public int servicePrecedence()
Get the servicePrecedence property: A precedence value that is used to decide between services when identifying the QoS values to use for a particular Sim. A lower value means a higher priority. This value should be unique among all services configured in the Mobile Network.- Returns:
- the servicePrecedence value.
-
withServicePrecedence
public ServiceInner withServicePrecedence(int servicePrecedence)
Set the servicePrecedence property: A precedence value that is used to decide between services when identifying the QoS values to use for a particular Sim. A lower value means a higher priority. This value should be unique among all services configured in the Mobile Network.- Parameters:
servicePrecedence
- the servicePrecedence value to set.- Returns:
- the ServiceInner object itself.
-
serviceQosPolicy
public QosPolicy serviceQosPolicy()
Get the serviceQosPolicy property: The QoS policy to use for packets matching this service. This can be overridden for particular flows using the ruleQosPolicy field in a PccRuleConfiguration. If this field is null then the UE's simPolicy will define the QoS settings.- Returns:
- the serviceQosPolicy value.
-
withServiceQosPolicy
public ServiceInner withServiceQosPolicy(QosPolicy serviceQosPolicy)
Set the serviceQosPolicy property: The QoS policy to use for packets matching this service. This can be overridden for particular flows using the ruleQosPolicy field in a PccRuleConfiguration. If this field is null then the UE's simPolicy will define the QoS settings.- Parameters:
serviceQosPolicy
- the serviceQosPolicy value to set.- Returns:
- the ServiceInner object itself.
-
pccRules
public List<PccRuleConfiguration> pccRules()
Get the pccRules property: The set of PCC Rules that make up this service.- Returns:
- the pccRules value.
-
withPccRules
public ServiceInner withPccRules(List<PccRuleConfiguration> pccRules)
Set the pccRules property: The set of PCC Rules that make up this service.- Parameters:
pccRules
- the pccRules value to set.- Returns:
- the ServiceInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-