Class SliceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.mobilenetwork.fluent.models.SliceInner
-
public final class SliceInner extends com.azure.core.management.Resource
Network slice resource.
-
-
Constructor Summary
Constructors Constructor Description SliceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: An optional description for this network slice.ProvisioningState
provisioningState()
Get the provisioningState property: The provisioning state of the network slice resource.Snssai
snssai()
Get the snssai property: The S-NSSAI (single network slice selection assistance information).com.azure.core.management.SystemData
systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.SliceInner
withDescription(String description)
Set the description property: An optional description for this network slice.SliceInner
withLocation(String location)
SliceInner
withSnssai(Snssai snssai)
Set the snssai property: The S-NSSAI (single network slice selection assistance information).SliceInner
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 SliceInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public SliceInner 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 network slice resource.- Returns:
- the provisioningState value.
-
snssai
public Snssai snssai()
Get the snssai property: The S-NSSAI (single network slice selection assistance information). Unique at the scope of a MobileNetwork.- Returns:
- the snssai value.
-
withSnssai
public SliceInner withSnssai(Snssai snssai)
Set the snssai property: The S-NSSAI (single network slice selection assistance information). Unique at the scope of a MobileNetwork.- Parameters:
snssai
- the snssai value to set.- Returns:
- the SliceInner object itself.
-
description
public String description()
Get the description property: An optional description for this network slice.- Returns:
- the description value.
-
withDescription
public SliceInner withDescription(String description)
Set the description property: An optional description for this network slice.- Parameters:
description
- the description value to set.- Returns:
- the SliceInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-