SecurityStandardInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. SecurityStandardInner
- com.
- com.
public final class SecurityStandardInner
extends ProxyResource
Security Standard on a resource.
Constructor Summary
| Constructor | Description |
|---|---|
| SecurityStandardInner() |
Creates an instance of Security |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Partial |
assessments()
Get the assessments property: List of assessment keys to apply to standard scope. |
|
List<Standard |
cloudProviders()
Get the cloud |
| String |
description()
Get the description property: Description of the standard. |
| String |
displayName()
Get the display |
|
static
Security |
fromJson(JsonReader jsonReader)
Reads an instance of Security |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Standard |
metadata()
Get the metadata property: The security standard metadata. |
| String |
name()
Get the name property: The name of the resource. |
| String |
policySetDefinitionId()
Get the policy |
|
Standard |
standardType()
Get the standard |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Security |
withAssessments(List<PartialAssessmentProperties> assessments)
Set the assessments property: List of assessment keys to apply to standard scope. |
|
Security |
withCloudProviders(List<StandardSupportedCloud> cloudProviders)
Set the cloud |
|
Security |
withDescription(String description)
Set the description property: Description of the standard. |
|
Security |
withDisplayName(String displayName)
Set the display |
|
Security |
withMetadata(StandardMetadata metadata)
Set the metadata property: The security standard metadata. |
|
Security |
withPolicySetDefinitionId(String policySetDefinitionId)
Set the policy |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SecurityStandardInner
public SecurityStandardInner()
Creates an instance of SecurityStandardInner class.
Method Details
assessments
public List<PartialAssessmentProperties> assessments()
Get the assessments property: List of assessment keys to apply to standard scope.
Returns:
cloudProviders
public List<StandardSupportedCloud> cloudProviders()
Get the cloudProviders property: List of all standard supported clouds.
Returns:
description
public String description()
Get the description property: Description of the standard.
Returns:
displayName
public String displayName()
Get the displayName property: Display name of the standard, equivalent to the standardId.
Returns:
fromJson
public static SecurityStandardInner fromJson(JsonReader jsonReader)
Reads an instance of SecurityStandardInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SecurityStandardInner.id()Returns:
metadata
public StandardMetadata metadata()
Get the metadata property: The security standard metadata.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SecurityStandardInner.name()Returns:
policySetDefinitionId
public String policySetDefinitionId()
Get the policySetDefinitionId property: The policy set definition id associated with the standard.
Returns:
standardType
public StandardType standardType()
Get the standardType property: Standard type (Custom or Default or Compliance only currently).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SecurityStandardInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SecurityStandardInner.type()Returns:
validate
public void validate()
Validates the instance.
withAssessments
public SecurityStandardInner withAssessments(List<PartialAssessmentProperties> assessments)
Set the assessments property: List of assessment keys to apply to standard scope.
Parameters:
Returns:
withCloudProviders
public SecurityStandardInner withCloudProviders(List<StandardSupportedCloud> cloudProviders)
Set the cloudProviders property: List of all standard supported clouds.
Parameters:
Returns:
withDescription
public SecurityStandardInner withDescription(String description)
Set the description property: Description of the standard.
Parameters:
Returns:
withDisplayName
public SecurityStandardInner withDisplayName(String displayName)
Set the displayName property: Display name of the standard, equivalent to the standardId.
Parameters:
Returns:
withMetadata
public SecurityStandardInner withMetadata(StandardMetadata metadata)
Set the metadata property: The security standard metadata.
Parameters:
Returns:
withPolicySetDefinitionId
public SecurityStandardInner withPolicySetDefinitionId(String policySetDefinitionId)
Set the policySetDefinitionId property: The policy set definition id associated with the standard.
Parameters:
Returns: