OnPremiseResourceDetails Class

public class OnPremiseResourceDetails
extends ResourceDetails

Details of the On Premise resource that was assessed.

Constructor Summary

Constructor Description
OnPremiseResourceDetails()

Creates an instance of OnPremiseResourceDetails class.

Method Summary

Modifier and Type Method and Description
String machineName()

Get the machineName property: The name of the machine.

String sourceComputerId()

Get the sourceComputerId property: The oms agent Id installed on the machine.

void validate()

Validates the instance.

String vmuuid()

Get the vmuuid property: The unique Id of the machine.

OnPremiseResourceDetails withMachineName(String machineName)

Set the machineName property: The name of the machine.

OnPremiseResourceDetails withSourceComputerId(String sourceComputerId)

Set the sourceComputerId property: The oms agent Id installed on the machine.

OnPremiseResourceDetails withVmuuid(String vmuuid)

Set the vmuuid property: The unique Id of the machine.

OnPremiseResourceDetails withWorkspaceId(String workspaceId)

Set the workspaceId property: Azure resource Id of the workspace the machine is attached to.

String workspaceId()

Get the workspaceId property: Azure resource Id of the workspace the machine is attached to.

Methods inherited from ResourceDetails

Methods inherited from java.lang.Object

Constructor Details

OnPremiseResourceDetails

public OnPremiseResourceDetails()

Creates an instance of OnPremiseResourceDetails class.

Method Details

machineName

public String machineName()

Get the machineName property: The name of the machine.

Returns:

the machineName value.

sourceComputerId

public String sourceComputerId()

Get the sourceComputerId property: The oms agent Id installed on the machine.

Returns:

the sourceComputerId value.

validate

public void validate()

Validates the instance.

Overrides:

OnPremiseResourceDetails.validate()

vmuuid

public String vmuuid()

Get the vmuuid property: The unique Id of the machine.

Returns:

the vmuuid value.

withMachineName

public OnPremiseResourceDetails withMachineName(String machineName)

Set the machineName property: The name of the machine.

Parameters:

machineName - the machineName value to set.

Returns:

the OnPremiseResourceDetails object itself.

withSourceComputerId

public OnPremiseResourceDetails withSourceComputerId(String sourceComputerId)

Set the sourceComputerId property: The oms agent Id installed on the machine.

Parameters:

sourceComputerId - the sourceComputerId value to set.

Returns:

the OnPremiseResourceDetails object itself.

withVmuuid

public OnPremiseResourceDetails withVmuuid(String vmuuid)

Set the vmuuid property: The unique Id of the machine.

Parameters:

vmuuid - the vmuuid value to set.

Returns:

the OnPremiseResourceDetails object itself.

withWorkspaceId

public OnPremiseResourceDetails withWorkspaceId(String workspaceId)

Set the workspaceId property: Azure resource Id of the workspace the machine is attached to.

Parameters:

workspaceId - the workspaceId value to set.

Returns:

the OnPremiseResourceDetails object itself.

workspaceId

public String workspaceId()

Get the workspaceId property: Azure resource Id of the workspace the machine is attached to.

Returns:

the workspaceId value.

Applies to