Class InnerError
- java.lang.Object
-
- com.azure.resourcemanager.applicationinsights.models.InnerError
-
public final class InnerError extends Object
Inner error.
-
-
Constructor Summary
Constructors Constructor Description InnerError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
diagnosticcontext()
Get the diagnosticcontext property: Provides correlation for request.OffsetDateTime
time()
Get the time property: Request time.void
validate()
Validates the instance.InnerError
withDiagnosticcontext(String diagnosticcontext)
Set the diagnosticcontext property: Provides correlation for request.InnerError
withTime(OffsetDateTime time)
Set the time property: Request time.
-
-
-
Method Detail
-
diagnosticcontext
public String diagnosticcontext()
Get the diagnosticcontext property: Provides correlation for request.- Returns:
- the diagnosticcontext value.
-
withDiagnosticcontext
public InnerError withDiagnosticcontext(String diagnosticcontext)
Set the diagnosticcontext property: Provides correlation for request.- Parameters:
diagnosticcontext
- the diagnosticcontext value to set.- Returns:
- the InnerError object itself.
-
time
public OffsetDateTime time()
Get the time property: Request time.- Returns:
- the time value.
-
withTime
public InnerError withTime(OffsetDateTime time)
Set the time property: Request time.- Parameters:
time
- the time value to set.- Returns:
- the InnerError object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-