HostKeysInner Class

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

Implements

public final class HostKeysInner
implements JsonSerializable<HostKeysInner>

Functions host level keys.

Constructor Summary

Constructor Description
HostKeysInner()

Creates an instance of HostKeysInner class.

Method Summary

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

Reads an instance of HostKeysInner from the JsonReader.

Map<String,String> functionKeys()

Get the functionKeys property: Host level function keys.

String masterKey()

Get the masterKey property: Secret key.

Map<String,String> systemKeys()

Get the systemKeys property: System keys.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

HostKeysInner withFunctionKeys(Map<String,String> functionKeys)

Set the functionKeys property: Host level function keys.

HostKeysInner withMasterKey(String masterKey)

Set the masterKey property: Secret key.

HostKeysInner withSystemKeys(Map<String,String> systemKeys)

Set the systemKeys property: System keys.

Methods inherited from java.lang.Object

Constructor Details

HostKeysInner

public HostKeysInner()

Creates an instance of HostKeysInner class.

Method Details

fromJson

public static HostKeysInner fromJson(JsonReader jsonReader)

Reads an instance of HostKeysInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

functionKeys

public Map functionKeys()

Get the functionKeys property: Host level function keys.

Returns:

the functionKeys value.

masterKey

public String masterKey()

Get the masterKey property: Secret key.

Returns:

the masterKey value.

systemKeys

public Map systemKeys()

Get the systemKeys property: System keys.

Returns:

the systemKeys value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFunctionKeys

public HostKeysInner withFunctionKeys(Map functionKeys)

Set the functionKeys property: Host level function keys.

Parameters:

functionKeys - the functionKeys value to set.

Returns:

the HostKeysInner object itself.

withMasterKey

public HostKeysInner withMasterKey(String masterKey)

Set the masterKey property: Secret key.

Parameters:

masterKey - the masterKey value to set.

Returns:

the HostKeysInner object itself.

withSystemKeys

public HostKeysInner withSystemKeys(Map systemKeys)

Set the systemKeys property: System keys.

Parameters:

systemKeys - the systemKeys value to set.

Returns:

the HostKeysInner object itself.

Applies to