PredefinedAcceleratorResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appplatform. fluent. models. PredefinedAcceleratorResourceInner
- com.
- com.
public final class PredefinedAcceleratorResourceInner
extends ProxyResource
Predefined accelerator resource.
Constructor Summary
Constructor | Description |
---|---|
PredefinedAcceleratorResourceInner() |
Creates an instance of Predefined |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Predefined |
fromJson(JsonReader jsonReader)
Reads an instance of Predefined |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Predefined |
properties()
Get the properties property: Predefined accelerator properties payload. |
Sku |
sku()
Get the sku property: Sku of the predefined accelerator 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. |
Predefined |
withProperties(PredefinedAcceleratorProperties properties)
Set the properties property: Predefined accelerator properties payload. |
Predefined |
withSku(Sku sku)
Set the sku property: Sku of the predefined accelerator resource. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
PredefinedAcceleratorResourceInner
public PredefinedAcceleratorResourceInner()
Creates an instance of PredefinedAcceleratorResourceInner class.
Method Details
fromJson
public static PredefinedAcceleratorResourceInner fromJson(JsonReader jsonReader)
Reads an instance of PredefinedAcceleratorResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PredefinedAcceleratorResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PredefinedAcceleratorResourceInner.name()Returns:
properties
public PredefinedAcceleratorProperties properties()
Get the properties property: Predefined accelerator properties payload.
Returns:
sku
public Sku sku()
Get the sku property: Sku of the predefined accelerator 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:
PredefinedAcceleratorResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PredefinedAcceleratorResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withProperties
public PredefinedAcceleratorResourceInner withProperties(PredefinedAcceleratorProperties properties)
Set the properties property: Predefined accelerator properties payload.
Parameters:
Returns:
withSku
public PredefinedAcceleratorResourceInner withSku(Sku sku)
Set the sku property: Sku of the predefined accelerator resource.
Parameters:
Returns:
Applies to
Azure SDK for Java