Class SecurityProfile
- java.lang.Object
-
- com.azure.resourcemanager.labservices.models.SecurityProfile
-
public final class SecurityProfile extends Object
The lab security profile.
-
-
Constructor Summary
Constructors Constructor Description SecurityProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnableState
openAccess()
Get the openAccess property: Whether any user or only specified users can register to a lab.String
registrationCode()
Get the registrationCode property: The registration code for the lab.void
validate()
Validates the instance.SecurityProfile
withOpenAccess(EnableState openAccess)
Set the openAccess property: Whether any user or only specified users can register to a lab.
-
-
-
Method Detail
-
registrationCode
public String registrationCode()
Get the registrationCode property: The registration code for the lab.- Returns:
- the registrationCode value.
-
openAccess
public EnableState openAccess()
Get the openAccess property: Whether any user or only specified users can register to a lab.- Returns:
- the openAccess value.
-
withOpenAccess
public SecurityProfile withOpenAccess(EnableState openAccess)
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.
-
-