Class DeploymentStackValidateResultInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.resources.models.AzureResourceBase
com.azure.resourcemanager.resources.fluent.models.DeploymentStackValidateResultInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
The Deployment stack validation result.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DeploymentStackValidateResultInner class. -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.management.exception.ManagementErrorerror()Get the error property: The error detail.Get the properties property: The validation result details.voidvalidate()Validates the instance.withError(com.azure.core.management.exception.ManagementError error) Set the error property: The error detail.withProperties(DeploymentStackValidateProperties properties) Set the properties property: The validation result details.Methods inherited from class com.azure.resourcemanager.resources.models.AzureResourceBase
systemDataMethods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
DeploymentStackValidateResultInner
public DeploymentStackValidateResultInner()Creates an instance of DeploymentStackValidateResultInner class.
-
-
Method Details
-
properties
Get the properties property: The validation result details.- Returns:
- the properties value.
-
withProperties
public DeploymentStackValidateResultInner withProperties(DeploymentStackValidateProperties properties) Set the properties property: The validation result details.- Parameters:
properties- the properties value to set.- Returns:
- the DeploymentStackValidateResultInner object itself.
-
error
public com.azure.core.management.exception.ManagementError error()Get the error property: The error detail.- Returns:
- the error value.
-
withError
public DeploymentStackValidateResultInner withError(com.azure.core.management.exception.ManagementError error) Set the error property: The error detail.- Parameters:
error- the error value to set.- Returns:
- the DeploymentStackValidateResultInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classAzureResourceBase- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-