StandardInner Class

public final class StandardInner
extends ProxyResource

Security Standard on a resource.

Constructor Summary

Constructor Description
StandardInner()

Creates an instance of StandardInner class.

Method Summary

Modifier and Type Method and Description
String category()

Get the category property: category of the standard provided.

List<StandardComponentProperties> components()

Get the components property: List of component objects containing component unique keys (such as assessment keys) to apply to standard scope.

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.

String etag()

Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

static StandardInner fromJson(JsonReader jsonReader)

Reads an instance of StandardInner from the JsonReader.

String id()

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

String kind()

Get the kind property: Kind of the resource.

String location()

Get the location property: The geo-location where the resource lives.

String name()

Get the name property: The name of the resource.

String standardType()

Get the standardType property: standard type (Custom or BuiltIn only currently).

List<StandardSupportedClouds> supportedClouds()

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

SystemData systemData()

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

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StandardInner withCategory(String category)

Set the category property: category of the standard provided.

StandardInner withComponents(List<StandardComponentProperties> components)

Set the components property: List of component objects containing component unique keys (such as assessment keys) to apply to standard scope.

StandardInner withDescription(String description)

Set the description property: description of the standard.

StandardInner withDisplayName(String displayName)

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

StandardInner withEtag(String etag)

Set the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

StandardInner withKind(String kind)

Set the kind property: Kind of the resource.

StandardInner withLocation(String location)

Set the location property: The geo-location where the resource lives.

StandardInner withSupportedClouds(List<StandardSupportedClouds> supportedClouds)

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

StandardInner withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

StandardInner

public StandardInner()

Creates an instance of StandardInner class.

Method Details

category

public String category()

Get the category property: category of the standard provided.

Returns:

the category value.

components

public List<StandardComponentProperties> components()

Get the components property: List of component objects containing component unique keys (such as assessment keys) to apply to standard scope. Currently only supports assessment keys.

Returns:

the components 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.

etag

public String etag()

Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

Returns:

the etag value.

fromJson

public static StandardInner fromJson(JsonReader jsonReader)

Reads an instance of StandardInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StandardInner 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:

StandardInner.id()

Returns:

the id value.

kind

public String kind()

Get the kind property: Kind of the resource.

Returns:

the kind value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

StandardInner.name()

Returns:

the name value.

standardType

public String standardType()

Get the standardType property: standard type (Custom or BuiltIn only currently).

Returns:

the standardType value.

supportedClouds

public List<StandardSupportedClouds> supportedClouds()

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

Returns:

the supportedClouds value.

systemData

public SystemData systemData()

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

Returns:

the systemData value.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StandardInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

StandardInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withCategory

public StandardInner withCategory(String category)

Set the category property: category of the standard provided.

Parameters:

category - the category value to set.

Returns:

the StandardInner object itself.

withComponents

public StandardInner withComponents(List<StandardComponentProperties> components)

Set the components property: List of component objects containing component unique keys (such as assessment keys) to apply to standard scope. Currently only supports assessment keys.

Parameters:

components - the components value to set.

Returns:

the StandardInner object itself.

withDescription

public StandardInner withDescription(String description)

Set the description property: description of the standard.

Parameters:

description - the description value to set.

Returns:

the StandardInner object itself.

withDisplayName

public StandardInner 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 StandardInner object itself.

withEtag

public StandardInner withEtag(String etag)

Set the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

Parameters:

etag - the etag value to set.

Returns:

the StandardInner object itself.

withKind

public StandardInner withKind(String kind)

Set the kind property: Kind of the resource.

Parameters:

kind - the kind value to set.

Returns:

the StandardInner object itself.

withLocation

public StandardInner withLocation(String location)

Set the location property: The geo-location where the resource lives.

Parameters:

location - the location value to set.

Returns:

the StandardInner object itself.

withSupportedClouds

public StandardInner withSupportedClouds(List<StandardSupportedClouds> supportedClouds)

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

Parameters:

supportedClouds - the supportedClouds value to set.

Returns:

the StandardInner object itself.

withTags

public StandardInner withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the StandardInner object itself.

Applies to