RoleInstanceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. hybridnetwork. fluent. models. RoleInstanceInner
- com.
- com.
public final class RoleInstanceInner
extends ProxyResource
The role instance sub resource.
Constructor Summary
| Constructor | Description |
|---|---|
| RoleInstanceInner() |
Creates an instance of Role |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
id()
Get the id property: The ARM ID of the resource. |
| String |
name()
Get the name property: The role instance name. |
|
Operational |
operationalState()
Get the operational |
|
Provisioning |
provisioningState()
Get the provisioning |
|
System |
systemData()
Get the system |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Role |
withId(String id)
Set the id property: The ARM ID of the resource. |
|
Role |
withName(String name)
Set the name property: The role instance name. |
|
Role |
withOperationalState(OperationalState operationalState)
Set the operational |
|
Role |
withType(String type)
Set the type property: The type of the resource. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
RoleInstanceInner
public RoleInstanceInner()
Creates an instance of RoleInstanceInner class.
Method Details
id
public String id()
Get the id property: The ARM ID of the resource.
Overrides:
RoleInstanceInner.id()Returns:
name
public String name()
Get the name property: The role instance name.
Overrides:
RoleInstanceInner.name()Returns:
operationalState
public OperationalState operationalState()
Get the operationalState property: The operational state of the role instance.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the RoleInstance resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system meta data relating to this resource.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RoleInstanceInner.type()Returns:
validate
public void validate()
Validates the instance.
withId
public RoleInstanceInner withId(String id)
Set the id property: The ARM ID of the resource.
Parameters:
Returns:
withName
public RoleInstanceInner withName(String name)
Set the name property: The role instance name.
Parameters:
Returns:
withOperationalState
public RoleInstanceInner withOperationalState(OperationalState operationalState)
Set the operationalState property: The operational state of the role instance.
Parameters:
Returns:
withType
public RoleInstanceInner withType(String type)
Set the type property: The type of the resource.
Parameters:
Returns: