Class SecurityProfile
java.lang.Object
com.azure.resourcemanager.labservices.models.SecurityProfile
The lab security profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the openAccess property: Whether any user or only specified users can register to a lab.Get the registrationCode property: The registration code for the lab.void
validate()
Validates the instance.withOpenAccess
(EnableState openAccess) Set the openAccess property: Whether any user or only specified users can register to a lab.
-
Constructor Details
-
SecurityProfile
public SecurityProfile()
-
-
Method Details
-
registrationCode
Get the registrationCode property: The registration code for the lab.- Returns:
- the registrationCode value.
-
openAccess
Get the openAccess property: Whether any user or only specified users can register to a lab.- Returns:
- the openAccess value.
-
withOpenAccess
Set the openAccess property: Whether any user or only specified users can register to a lab.- Parameters:
openAccess
- the openAccess value to set.- Returns:
- the SecurityProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-