ComponentInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. hybridnetwork. fluent. models. ComponentInner
- com.
- com.
public final class ComponentInner
extends ProxyResource
The component sub resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ComponentInner() |
Creates an instance of Component |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Component |
fromJson(JsonReader jsonReader)
Reads an instance of Component |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Component |
properties()
Get the properties property: The component properties. |
|
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. |
|
Component |
withProperties(ComponentProperties properties)
Set the properties property: The component properties. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ComponentInner
public ComponentInner()
Creates an instance of ComponentInner class.
Method Details
fromJson
public static ComponentInner fromJson(JsonReader jsonReader)
Reads an instance of ComponentInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ComponentInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ComponentInner.name()Returns:
properties
public ComponentProperties properties()
Get the properties property: The component properties.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ComponentInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ComponentInner.type()Returns:
validate
public void validate()
Validates the instance.
withProperties
public ComponentInner withProperties(ComponentProperties properties)
Set the properties property: The component properties.
Parameters:
Returns: