Partager via


SiteMachineKey Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.SiteMachineKey

Implements

public final class SiteMachineKey
implements JsonSerializable<SiteMachineKey>

MachineKey of an app.

Constructor Summary

Constructor Description
SiteMachineKey()

Creates an instance of SiteMachineKey class.

Method Summary

Modifier and Type Method and Description
String decryption()

Get the decryption property: Algorithm used for decryption.

String decryptionKey()

Get the decryptionKey property: Decryption key.

static SiteMachineKey fromJson(JsonReader jsonReader)

Reads an instance of SiteMachineKey from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String validation()

Get the validation property: MachineKey validation.

String validationKey()

Get the validationKey property: Validation key.

SiteMachineKey withDecryption(String decryption)

Set the decryption property: Algorithm used for decryption.

SiteMachineKey withDecryptionKey(String decryptionKey)

Set the decryptionKey property: Decryption key.

SiteMachineKey withValidation(String validation)

Set the validation property: MachineKey validation.

SiteMachineKey withValidationKey(String validationKey)

Set the validationKey property: Validation key.

Methods inherited from java.lang.Object

Constructor Details

SiteMachineKey

public SiteMachineKey()

Creates an instance of SiteMachineKey class.

Method Details

decryption

public String decryption()

Get the decryption property: Algorithm used for decryption.

Returns:

the decryption value.

decryptionKey

public String decryptionKey()

Get the decryptionKey property: Decryption key.

Returns:

the decryptionKey value.

fromJson

public static SiteMachineKey fromJson(JsonReader jsonReader)

Reads an instance of SiteMachineKey from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

validation

public String validation()

Get the validation property: MachineKey validation.

Returns:

the validation value.

validationKey

public String validationKey()

Get the validationKey property: Validation key.

Returns:

the validationKey value.

withDecryption

public SiteMachineKey withDecryption(String decryption)

Set the decryption property: Algorithm used for decryption.

Parameters:

decryption - the decryption value to set.

Returns:

the SiteMachineKey object itself.

withDecryptionKey

public SiteMachineKey withDecryptionKey(String decryptionKey)

Set the decryptionKey property: Decryption key.

Parameters:

decryptionKey - the decryptionKey value to set.

Returns:

the SiteMachineKey object itself.

withValidation

public SiteMachineKey withValidation(String validation)

Set the validation property: MachineKey validation.

Parameters:

validation - the validation value to set.

Returns:

the SiteMachineKey object itself.

withValidationKey

public SiteMachineKey withValidationKey(String validationKey)

Set the validationKey property: Validation key.

Parameters:

validationKey - the validationKey value to set.

Returns:

the SiteMachineKey object itself.

Applies to