StandardComponentProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.StandardComponentProperties

Implements

public final class StandardComponentProperties
implements JsonSerializable<StandardComponentProperties>

Describes properties of an component as related to the standard.

Constructor Summary

Constructor Description
StandardComponentProperties()

Creates an instance of StandardComponentProperties class.

Method Summary

Modifier and Type Method and Description
static StandardComponentProperties fromJson(JsonReader jsonReader)

Reads an instance of StandardComponentProperties from the JsonReader.

String key()

Get the key property: Component Key matching componentMetadata.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

StandardComponentProperties withKey(String key)

Set the key property: Component Key matching componentMetadata.

Methods inherited from java.lang.Object

Constructor Details

StandardComponentProperties

public StandardComponentProperties()

Creates an instance of StandardComponentProperties class.

Method Details

fromJson

public static StandardComponentProperties fromJson(JsonReader jsonReader)

Reads an instance of StandardComponentProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the StandardComponentProperties.

key

public String key()

Get the key property: Component Key matching componentMetadata.

Returns:

the key value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withKey

public StandardComponentProperties withKey(String key)

Set the key property: Component Key matching componentMetadata.

Parameters:

key - the key value to set.

Returns:

the StandardComponentProperties object itself.

Applies to