SecurityProfile Class
- java.
lang. Object - com.
azure. resourcemanager. labservices. models. SecurityProfile
- com.
Implements
public final class SecurityProfile
implements JsonSerializable<SecurityProfile>
The lab security profile.
Constructor Summary
| Constructor | Description |
|---|---|
| SecurityProfile() |
Creates an instance of Security |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Security |
fromJson(JsonReader jsonReader)
Reads an instance of Security |
|
Enable |
openAccess()
Get the open |
| String |
registrationCode()
Get the registration |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Security |
withOpenAccess(EnableState openAccess)
Set the open |
Methods inherited from java.lang.Object
Constructor Details
SecurityProfile
public SecurityProfile()
Creates an instance of SecurityProfile class.
Method Details
fromJson
public static SecurityProfile fromJson(JsonReader jsonReader)
Reads an instance of SecurityProfile from the JsonReader.
Parameters:
Returns:
Throws:
openAccess
public EnableState openAccess()
Get the openAccess property: Whether any user or only specified users can register to a lab.
Returns:
registrationCode
public String registrationCode()
Get the registrationCode property: The registration code for the lab.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOpenAccess
public SecurityProfile withOpenAccess(EnableState openAccess)
Set the openAccess property: Whether any user or only specified users can register to a lab.
Parameters:
Returns: