Class ServiceResourceId
- java.lang.Object
-
- com.azure.resourcemanager.mobilenetwork.models.ServiceResourceId
-
public final class ServiceResourceId extends Object
Reference to a Service resource.
-
-
Constructor Summary
Constructors Constructor Description ServiceResourceId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Get the id property: Service resource ID.void
validate()
Validates the instance.ServiceResourceId
withId(String id)
Set the id property: Service resource ID.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Service resource ID.- Returns:
- the id value.
-
withId
public ServiceResourceId withId(String id)
Set the id property: Service resource ID.- Parameters:
id
- the id value to set.- Returns:
- the ServiceResourceId object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-