KeyInfoInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.KeyInfoInner

Implements

public final class KeyInfoInner
implements JsonSerializable<KeyInfoInner>

Function key info.

Constructor Summary

Constructor Description
KeyInfoInner()

Creates an instance of KeyInfoInner class.

Method Summary

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

Reads an instance of KeyInfoInner from the JsonReader.

String name()

Get the name property: Key name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: Key value.

KeyInfoInner withName(String name)

Set the name property: Key name.

KeyInfoInner withValue(String value)

Set the value property: Key value.

Methods inherited from java.lang.Object

Constructor Details

KeyInfoInner

public KeyInfoInner()

Creates an instance of KeyInfoInner class.

Method Details

fromJson

public static KeyInfoInner fromJson(JsonReader jsonReader)

Reads an instance of KeyInfoInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of KeyInfoInner 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 KeyInfoInner.

name

public String name()

Get the name property: Key name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Key value.

Returns:

the value value.

withName

public KeyInfoInner withName(String name)

Set the name property: Key name.

Parameters:

name - the name value to set.

Returns:

the KeyInfoInner object itself.

withValue

public KeyInfoInner withValue(String value)

Set the value property: Key value.

Parameters:

value - the value value to set.

Returns:

the KeyInfoInner object itself.

Applies to