SecurityStandardInner Class

public final class SecurityStandardInner
extends ProxyResource

Security Standard on a resource.

Constructor Summary

Constructor Description
SecurityStandardInner()

Creates an instance of SecurityStandardInner class.

Method Summary

Modifier and Type Method and Description
List<PartialAssessmentProperties> assessments()

Get the assessments property: List of assessment keys to apply to standard scope.

List<StandardSupportedCloud> cloudProviders()

Get the cloudProviders property: List of all standard supported clouds.

String description()

Get the description property: Description of the standard.

String displayName()

Get the displayName property: Display name of the standard, equivalent to the standardId.

static SecurityStandardInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityStandardInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

StandardMetadata metadata()

Get the metadata property: The security standard metadata.

String name()

Get the name property: The name of the resource.

String policySetDefinitionId()

Get the policySetDefinitionId property: The policy set definition id associated with the standard.

StandardType standardType()

Get the standardType property: Standard type (Custom or Default or Compliance only currently).

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SecurityStandardInner withAssessments(List<PartialAssessmentProperties> assessments)

Set the assessments property: List of assessment keys to apply to standard scope.

SecurityStandardInner withCloudProviders(List<StandardSupportedCloud> cloudProviders)

Set the cloudProviders property: List of all standard supported clouds.

SecurityStandardInner withDescription(String description)

Set the description property: Description of the standard.

SecurityStandardInner withDisplayName(String displayName)

Set the displayName property: Display name of the standard, equivalent to the standardId.

SecurityStandardInner withMetadata(StandardMetadata metadata)

Set the metadata property: The security standard metadata.

SecurityStandardInner withPolicySetDefinitionId(String policySetDefinitionId)

Set the policySetDefinitionId property: The policy set definition id associated with the standard.

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:

the assessments value.

cloudProviders

public List<StandardSupportedCloud> cloudProviders()

Get the cloudProviders property: List of all standard supported clouds.

Returns:

the cloudProviders value.

description

public String description()

Get the description property: Description of the standard.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: Display name of the standard, equivalent to the standardId.

Returns:

the displayName value.

fromJson

public static SecurityStandardInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityStandardInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SecurityStandardInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SecurityStandardInner.id()

Returns:

the id value.

metadata

public StandardMetadata metadata()

Get the metadata property: The security standard metadata.

Returns:

the metadata value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SecurityStandardInner.name()

Returns:

the name value.

policySetDefinitionId

public String policySetDefinitionId()

Get the policySetDefinitionId property: The policy set definition id associated with the standard.

Returns:

the policySetDefinitionId value.

standardType

public StandardType standardType()

Get the standardType property: Standard type (Custom or Default or Compliance only currently).

Returns:

the standardType value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SecurityStandardInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SecurityStandardInner.type()

Returns:

the type value.

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:

assessments - the assessments value to set.

Returns:

the SecurityStandardInner object itself.

withCloudProviders

public SecurityStandardInner withCloudProviders(List<StandardSupportedCloud> cloudProviders)

Set the cloudProviders property: List of all standard supported clouds.

Parameters:

cloudProviders - the cloudProviders value to set.

Returns:

the SecurityStandardInner object itself.

withDescription

public SecurityStandardInner withDescription(String description)

Set the description property: Description of the standard.

Parameters:

description - the description value to set.

Returns:

the SecurityStandardInner object itself.

withDisplayName

public SecurityStandardInner withDisplayName(String displayName)

Set the displayName property: Display name of the standard, equivalent to the standardId.

Parameters:

displayName - the displayName value to set.

Returns:

the SecurityStandardInner object itself.

withMetadata

public SecurityStandardInner withMetadata(StandardMetadata metadata)

Set the metadata property: The security standard metadata.

Parameters:

metadata - the metadata value to set.

Returns:

the SecurityStandardInner object itself.

withPolicySetDefinitionId

public SecurityStandardInner withPolicySetDefinitionId(String policySetDefinitionId)

Set the policySetDefinitionId property: The policy set definition id associated with the standard.

Parameters:

policySetDefinitionId - the policySetDefinitionId value to set.

Returns:

the SecurityStandardInner object itself.

Applies to