Class CustomizedAcceleratorValidateResultInner
java.lang.Object
com.azure.resourcemanager.appplatform.fluent.models.CustomizedAcceleratorValidateResultInner
Validation result for customized accelerator properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CustomizedAcceleratorValidateResultInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the errorMessage property: The detail validation results.state()Get the state property: State of the customized accelerator validation result.voidvalidate()Validates the instance.withErrorMessage(String errorMessage) Set the errorMessage property: The detail validation results.Set the state property: State of the customized accelerator validation result.
-
Constructor Details
-
CustomizedAcceleratorValidateResultInner
public CustomizedAcceleratorValidateResultInner()Creates an instance of CustomizedAcceleratorValidateResultInner class.
-
-
Method Details
-
state
Get the state property: State of the customized accelerator validation result.- Returns:
- the state value.
-
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.
-
errorMessage
Get the errorMessage property: The detail validation results.- Returns:
- the errorMessage value.
-
withErrorMessage
Set the errorMessage property: The detail validation results.- Parameters:
errorMessage- the errorMessage value to set.- Returns:
- the CustomizedAcceleratorValidateResultInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-