CustomizedAcceleratorValidateResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.fluent.models.CustomizedAcceleratorValidateResultInner

Implements

public final class CustomizedAcceleratorValidateResultInner
implements JsonSerializable<CustomizedAcceleratorValidateResultInner>

Validation result for customized accelerator properties.

Constructor Summary

Constructor Description
CustomizedAcceleratorValidateResultInner()

Creates an instance of CustomizedAcceleratorValidateResultInner class.

Method Summary

Modifier and Type Method and Description
String errorMessage()

Get the errorMessage property: The detail validation results.

static CustomizedAcceleratorValidateResultInner fromJson(JsonReader jsonReader)

Reads an instance of CustomizedAcceleratorValidateResultInner from the JsonReader.

CustomizedAcceleratorValidateResultState state()

Get the state property: State of the customized accelerator validation result.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CustomizedAcceleratorValidateResultInner withErrorMessage(String errorMessage)

Set the errorMessage property: The detail validation results.

CustomizedAcceleratorValidateResultInner withState(CustomizedAcceleratorValidateResultState state)

Set the state property: State of the customized accelerator validation result.

Methods inherited from java.lang.Object

Constructor Details

CustomizedAcceleratorValidateResultInner

public CustomizedAcceleratorValidateResultInner()

Creates an instance of CustomizedAcceleratorValidateResultInner class.

Method Details

errorMessage

public String errorMessage()

Get the errorMessage property: The detail validation results.

Returns:

the errorMessage value.

fromJson

public static CustomizedAcceleratorValidateResultInner fromJson(JsonReader jsonReader)

Reads an instance of CustomizedAcceleratorValidateResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

state

public CustomizedAcceleratorValidateResultState state()

Get the state property: State of the customized accelerator validation result.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withErrorMessage

public CustomizedAcceleratorValidateResultInner withErrorMessage(String errorMessage)

Set the errorMessage property: The detail validation results.

Parameters:

errorMessage - the errorMessage value to set.

Returns:

the CustomizedAcceleratorValidateResultInner object itself.

withState

public CustomizedAcceleratorValidateResultInner withState(CustomizedAcceleratorValidateResultState state)

Set the state property: State of the customized accelerator validation result.

Parameters:

state - the state value to set.

Returns:

the CustomizedAcceleratorValidateResultInner object itself.

Applies to