Class ServiceResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.appplatform.fluent.models.ServiceResourceInner
-
public final class ServiceResourceInner extends com.azure.core.management.ResourceService resource.
-
-
Constructor Summary
Constructors Constructor Description ServiceResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterResourcePropertiesproperties()Get the properties property: Properties of the Service resource.Skusku()Get the sku property: Sku of the Service resource.voidvalidate()Validates the instance.ServiceResourceInnerwithLocation(String location)ServiceResourceInnerwithProperties(ClusterResourceProperties properties)Set the properties property: Properties of the Service resource.ServiceResourceInnerwithSku(Sku sku)Set the sku property: Sku of the Service resource.ServiceResourceInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
properties
public ClusterResourceProperties properties()
Get the properties property: Properties of the Service resource.- Returns:
- the properties value.
-
withProperties
public ServiceResourceInner withProperties(ClusterResourceProperties properties)
Set the properties property: Properties of the Service resource.- Parameters:
properties- the properties value to set.- Returns:
- the ServiceResourceInner object itself.
-
sku
public Sku sku()
Get the sku property: Sku of the Service resource.- Returns:
- the sku value.
-
withSku
public ServiceResourceInner withSku(Sku sku)
Set the sku property: Sku of the Service resource.- Parameters:
sku- the sku value to set.- Returns:
- the ServiceResourceInner object itself.
-
withLocation
public ServiceResourceInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public ServiceResourceInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-