CustomizedAcceleratorValidateResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. fluent. models. CustomizedAcceleratorValidateResultInner
- com.
Implements
public final class CustomizedAcceleratorValidateResultInner
implements JsonSerializable<CustomizedAcceleratorValidateResultInner>
Validation result for customized accelerator properties.
Constructor Summary
Constructor | Description |
---|---|
CustomizedAcceleratorValidateResultInner() |
Creates an instance of Customized |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
errorMessage()
Get the error |
static
Customized |
fromJson(JsonReader jsonReader)
Reads an instance of Customized |
Customized |
state()
Get the state property: State of the customized accelerator validation result. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Customized |
withErrorMessage(String errorMessage)
Set the error |
Customized |
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:
fromJson
public static CustomizedAcceleratorValidateResultInner fromJson(JsonReader jsonReader)
Reads an instance of CustomizedAcceleratorValidateResultInner from the JsonReader.
Parameters:
Returns:
Throws:
state
public CustomizedAcceleratorValidateResultState state()
Get the state property: State of the customized accelerator validation result.
Returns:
toJson
validate
public void validate()
Validates the instance.
withErrorMessage
public CustomizedAcceleratorValidateResultInner withErrorMessage(String errorMessage)
Set the errorMessage property: The detail validation results.
Parameters:
Returns:
withState
public CustomizedAcceleratorValidateResultInner withState(CustomizedAcceleratorValidateResultState state)
Set the state property: State of the customized accelerator validation result.
Parameters:
Returns:
Applies to
Azure SDK for Java