Поделиться через


RoleInstanceInner Class

public final class RoleInstanceInner
extends ProxyResource

The role instance sub resource.

Constructor Summary

Constructor Description
RoleInstanceInner()

Creates an instance of RoleInstanceInner class.

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.

OperationalState operationalState()

Get the operationalState property: The operational state of the role instance.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the RoleInstance resource.

SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

RoleInstanceInner withId(String id)

Set the id property: The ARM ID of the resource.

RoleInstanceInner withName(String name)

Set the name property: The role instance name.

RoleInstanceInner withOperationalState(OperationalState operationalState)

Set the operationalState property: The operational state of the role instance.

RoleInstanceInner 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:

the id value.

name

public String name()

Get the name property: The role instance name.

Overrides:

RoleInstanceInner.name()

Returns:

the name value.

operationalState

public OperationalState operationalState()

Get the operationalState property: The operational state of the role instance.

Returns:

the operationalState value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the RoleInstance resource.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

type

public String type()

Get the type property: The type of the resource.

Overrides:

RoleInstanceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public RoleInstanceInner withId(String id)

Set the id property: The ARM ID of the resource.

Parameters:

id - the id value to set.

Returns:

the RoleInstanceInner object itself.

withName

public RoleInstanceInner withName(String name)

Set the name property: The role instance name.

Parameters:

name - the name value to set.

Returns:

the RoleInstanceInner object itself.

withOperationalState

public RoleInstanceInner withOperationalState(OperationalState operationalState)

Set the operationalState property: The operational state of the role instance.

Parameters:

operationalState - the operationalState value to set.

Returns:

the RoleInstanceInner object itself.

withType

public RoleInstanceInner withType(String type)

Set the type property: The type of the resource.

Parameters:

type - the type value to set.

Returns:

the RoleInstanceInner object itself.

Applies to