Class AppResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appplatform.fluent.models.AppResourceInner
-
public final class AppResourceInner extends com.azure.core.management.ProxyResourceApp resource payload.
-
-
Constructor Summary
Constructors Constructor Description AppResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedIdentityPropertiesidentity()Get the identity property: The Managed Identity type of the app resource.Stringlocation()Get the location property: The GEO location of the application, always the same with its parent resource.AppResourcePropertiesproperties()Get the properties property: Properties of the App resource.voidvalidate()Validates the instance.AppResourceInnerwithIdentity(ManagedIdentityProperties identity)Set the identity property: The Managed Identity type of the app resource.AppResourceInnerwithLocation(String location)Set the location property: The GEO location of the application, always the same with its parent resource.AppResourceInnerwithProperties(AppResourceProperties properties)Set the properties property: Properties of the App resource.
-
-
-
Method Detail
-
properties
public AppResourceProperties properties()
Get the properties property: Properties of the App resource.- Returns:
- the properties value.
-
withProperties
public AppResourceInner withProperties(AppResourceProperties properties)
Set the properties property: Properties of the App resource.- Parameters:
properties- the properties value to set.- Returns:
- the AppResourceInner object itself.
-
identity
public ManagedIdentityProperties identity()
Get the identity property: The Managed Identity type of the app resource.- Returns:
- the identity value.
-
withIdentity
public AppResourceInner withIdentity(ManagedIdentityProperties identity)
Set the identity property: The Managed Identity type of the app resource.- Parameters:
identity- the identity value to set.- Returns:
- the AppResourceInner object itself.
-
location
public String location()
Get the location property: The GEO location of the application, always the same with its parent resource.- Returns:
- the location value.
-
withLocation
public AppResourceInner withLocation(String location)
Set the location property: The GEO location of the application, always the same with its parent resource.- Parameters:
location- the location value to set.- Returns:
- the AppResourceInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-