ApiPortalResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appplatform. fluent. models. ApiPortalResourceInner
- com.
- com.
public final class ApiPortalResourceInner
extends ProxyResource
API portal resource.
Constructor Summary
Constructor | Description |
---|---|
ApiPortalResourceInner() |
Creates an instance of Api |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Api |
fromJson(JsonReader jsonReader)
Reads an instance of Api |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Api |
properties()
Get the properties property: API portal properties payload. |
Sku |
sku()
Get the sku property: Sku of the API portal resource. |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Api |
withProperties(ApiPortalProperties properties)
Set the properties property: API portal properties payload. |
Api |
withSku(Sku sku)
Set the sku property: Sku of the API portal resource. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ApiPortalResourceInner
public ApiPortalResourceInner()
Creates an instance of ApiPortalResourceInner class.
Method Details
fromJson
public static ApiPortalResourceInner fromJson(JsonReader jsonReader)
Reads an instance of ApiPortalResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ApiPortalResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ApiPortalResourceInner.name()Returns:
properties
public ApiPortalProperties properties()
Get the properties property: API portal properties payload.
Returns:
sku
public Sku sku()
Get the sku property: Sku of the API portal resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApiPortalResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ApiPortalResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withProperties
public ApiPortalResourceInner withProperties(ApiPortalProperties properties)
Set the properties property: API portal properties payload.
Parameters:
Returns:
withSku
public ApiPortalResourceInner withSku(Sku sku)
Set the sku property: Sku of the API portal resource.
Parameters:
Returns:
Applies to
Azure SDK for Java