Class PlmnId
- java.lang.Object
-
- com.azure.resourcemanager.mobilenetwork.models.PlmnId
-
public final class PlmnId extends Object
Public Land Mobile Network (PLMN) ID.
-
-
Constructor Summary
Constructors Constructor Description PlmnId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
mcc()
Get the mcc property: Mobile Country Code (MCC).String
mnc()
Get the mnc property: Mobile Network Code (MNC).void
validate()
Validates the instance.PlmnId
withMcc(String mcc)
Set the mcc property: Mobile Country Code (MCC).PlmnId
withMnc(String mnc)
Set the mnc property: Mobile Network Code (MNC).
-
-
-
Method Detail
-
mcc
public String mcc()
Get the mcc property: Mobile Country Code (MCC).- Returns:
- the mcc value.
-
withMcc
public PlmnId withMcc(String mcc)
Set the mcc property: Mobile Country Code (MCC).- Parameters:
mcc
- the mcc value to set.- Returns:
- the PlmnId object itself.
-
mnc
public String mnc()
Get the mnc property: Mobile Network Code (MNC).- Returns:
- the mnc value.
-
withMnc
public PlmnId withMnc(String mnc)
Set the mnc property: Mobile Network Code (MNC).- Parameters:
mnc
- the mnc value to set.- Returns:
- the PlmnId object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-