SecureScoreControlDefinitionSource Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. SecureScoreControlDefinitionSource
- com.
Implements
public final class SecureScoreControlDefinitionSource
implements JsonSerializable<SecureScoreControlDefinitionSource>
The type of the security control (For example, BuiltIn).
Constructor Summary
| Constructor | Description |
|---|---|
| SecureScoreControlDefinitionSource() |
Creates an instance of Secure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Secure |
fromJson(JsonReader jsonReader)
Reads an instance of Secure |
|
Control |
sourceType()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Secure |
withSourceType(ControlType sourceType)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
SecureScoreControlDefinitionSource
public SecureScoreControlDefinitionSource()
Creates an instance of SecureScoreControlDefinitionSource class.
Method Details
fromJson
public static SecureScoreControlDefinitionSource fromJson(JsonReader jsonReader)
Reads an instance of SecureScoreControlDefinitionSource from the JsonReader.
Parameters:
Returns:
Throws:
sourceType
public ControlType sourceType()
Get the sourceType property: The type of security control (for example, BuiltIn).
Returns:
toJson
validate
public void validate()
Validates the instance.
withSourceType
public SecureScoreControlDefinitionSource withSourceType(ControlType sourceType)
Set the sourceType property: The type of security control (for example, BuiltIn).
Parameters:
Returns: