PersonalPerferencesOperationsPayload Class

  • java.lang.Object
    • com.microsoft.azure.management.labservices.v2018_10_15.PersonalPerferencesOperationsPayload

public class PersonalPerferencesOperationsPayload

Represents payload for any Environment operations like get, start, stop, connect.

Constructor Summary

Constructor Description
PersonalPerferencesOperationsPayload()

Method Summary

Modifier and Type Method and Description
AddRemove addRemove()

Get enum indicating if user is adding or removing a favorite lab.

java.lang.String labAccountResourceId()

Get resource Id of the lab account.

java.lang.String labResourceId()

Get resource Id of the lab to add/remove from the favorites list.

PersonalPerferencesOperationsPayload withAddRemove(AddRemove addRemove)

Set enum indicating if user is adding or removing a favorite lab.

PersonalPerferencesOperationsPayload withLabAccountResourceId(String labAccountResourceId)

Set resource Id of the lab account.

PersonalPerferencesOperationsPayload withLabResourceId(String labResourceId)

Set resource Id of the lab to add/remove from the favorites list.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

PersonalPerferencesOperationsPayload

public PersonalPerferencesOperationsPayload()

Method Details

addRemove

public AddRemove addRemove()

Get enum indicating if user is adding or removing a favorite lab. Possible values include: 'Add', 'Remove'.

Returns:

the addRemove value

labAccountResourceId

public String labAccountResourceId()

Get resource Id of the lab account.

Returns:

the labAccountResourceId value

labResourceId

public String labResourceId()

Get resource Id of the lab to add/remove from the favorites list.

Returns:

the labResourceId value

withAddRemove

public PersonalPerferencesOperationsPayload withAddRemove(AddRemove addRemove)

Set enum indicating if user is adding or removing a favorite lab. Possible values include: 'Add', 'Remove'.

Parameters:

addRemove - the addRemove value to set

Returns:

the PersonalPerferencesOperationsPayload object itself.

withLabAccountResourceId

public PersonalPerferencesOperationsPayload withLabAccountResourceId(String labAccountResourceId)

Set resource Id of the lab account.

Parameters:

labAccountResourceId - the labAccountResourceId value to set

Returns:

the PersonalPerferencesOperationsPayload object itself.

withLabResourceId

public PersonalPerferencesOperationsPayload withLabResourceId(String labResourceId)

Set resource Id of the lab to add/remove from the favorites list.

Parameters:

labResourceId - the labResourceId value to set

Returns:

the PersonalPerferencesOperationsPayload object itself.

Applies to