ReferenceVmCreationParameters Class

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

public class ReferenceVmCreationParameters

Creation parameters for Reference Vm.

Constructor Summary

Constructor Description
ReferenceVmCreationParameters()

Method Summary

Modifier and Type Method and Description
java.lang.String password()

Get the password of the virtual machine.

java.lang.String userName()

Get the username of the virtual machine.

ReferenceVmCreationParameters withPassword(String password)

Set the password of the virtual machine.

ReferenceVmCreationParameters withUserName(String userName)

Set the username of the virtual machine.

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

ReferenceVmCreationParameters

public ReferenceVmCreationParameters()

Method Details

password

public String password()

Get the password of the virtual machine.

Returns:

the password value

userName

public String userName()

Get the username of the virtual machine.

Returns:

the userName value

withPassword

public ReferenceVmCreationParameters withPassword(String password)

Set the password of the virtual machine.

Parameters:

password - the password value to set

Returns:

the ReferenceVmCreationParameters object itself.

withUserName

public ReferenceVmCreationParameters withUserName(String userName)

Set the username of the virtual machine.

Parameters:

userName - the userName value to set

Returns:

the ReferenceVmCreationParameters object itself.

Applies to