次の方法で共有


ActivationKeyResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.azurestack.fluent.models.ActivationKeyResultInner

Implements

public final class ActivationKeyResultInner
implements JsonSerializable<ActivationKeyResultInner>

The resource containing the Azure Stack activation key.

Constructor Summary

Constructor Description
ActivationKeyResultInner()

Creates an instance of ActivationKeyResultInner class.

Method Summary

Modifier and Type Method and Description
String activationKey()

Get the activationKey property: Azure Stack activation key.

static ActivationKeyResultInner fromJson(JsonReader jsonReader)

Reads an instance of ActivationKeyResultInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ActivationKeyResultInner withActivationKey(String activationKey)

Set the activationKey property: Azure Stack activation key.

Methods inherited from java.lang.Object

Constructor Details

ActivationKeyResultInner

public ActivationKeyResultInner()

Creates an instance of ActivationKeyResultInner class.

Method Details

activationKey

public String activationKey()

Get the activationKey property: Azure Stack activation key.

Returns:

the activationKey value.

fromJson

public static ActivationKeyResultInner fromJson(JsonReader jsonReader)

Reads an instance of ActivationKeyResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withActivationKey

public ActivationKeyResultInner withActivationKey(String activationKey)

Set the activationKey property: Azure Stack activation key.

Parameters:

activationKey - the activationKey value to set.

Returns:

the ActivationKeyResultInner object itself.

Applies to