Class TimelineError
java.lang.Object
com.azure.resourcemanager.securityinsights.models.TimelineError
Timeline Query Errors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the errorMessage property: the error message.kind()
Get the kind property: the query kind.queryId()
Get the queryId property: the query id.void
validate()
Validates the instance.withErrorMessage
(String errorMessage) Set the errorMessage property: the error message.withKind
(EntityTimelineKind kind) Set the kind property: the query kind.withQueryId
(String queryId) Set the queryId property: the query id.
-
Constructor Details
-
TimelineError
public TimelineError()
-
-
Method Details
-
kind
Get the kind property: the query kind.- Returns:
- the kind value.
-
withKind
Set the kind property: the query kind.- Parameters:
kind
- the kind value to set.- Returns:
- the TimelineError object itself.
-
queryId
Get the queryId property: the query id.- Returns:
- the queryId value.
-
withQueryId
Set the queryId property: the query id.- Parameters:
queryId
- the queryId value to set.- Returns:
- the TimelineError object itself.
-
errorMessage
Get the errorMessage property: the error message.- Returns:
- the errorMessage value.
-
withErrorMessage
Set the errorMessage property: the error message.- Parameters:
errorMessage
- the errorMessage value to set.- Returns:
- the TimelineError object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-