Class TroubleshootingResultInner
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.TroubleshootingResultInner
-
public final class TroubleshootingResultInner extends Object
Troubleshooting information gained from specified resource.
-
-
Constructor Summary
Constructors Constructor Description TroubleshootingResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcode()Get the code property: The result code of the troubleshooting.OffsetDateTimeendTime()Get the endTime property: The end time of the troubleshooting.List<TroubleshootingDetails>results()Get the results property: Information from troubleshooting.OffsetDateTimestartTime()Get the startTime property: The start time of the troubleshooting.voidvalidate()Validates the instance.TroubleshootingResultInnerwithCode(String code)Set the code property: The result code of the troubleshooting.TroubleshootingResultInnerwithEndTime(OffsetDateTime endTime)Set the endTime property: The end time of the troubleshooting.TroubleshootingResultInnerwithResults(List<TroubleshootingDetails> results)Set the results property: Information from troubleshooting.TroubleshootingResultInnerwithStartTime(OffsetDateTime startTime)Set the startTime property: The start time of the troubleshooting.
-
-
-
Method Detail
-
startTime
public OffsetDateTime startTime()
Get the startTime property: The start time of the troubleshooting.- Returns:
- the startTime value.
-
withStartTime
public TroubleshootingResultInner withStartTime(OffsetDateTime startTime)
Set the startTime property: The start time of the troubleshooting.- Parameters:
startTime- the startTime value to set.- Returns:
- the TroubleshootingResultInner object itself.
-
endTime
public OffsetDateTime endTime()
Get the endTime property: The end time of the troubleshooting.- Returns:
- the endTime value.
-
withEndTime
public TroubleshootingResultInner withEndTime(OffsetDateTime endTime)
Set the endTime property: The end time of the troubleshooting.- Parameters:
endTime- the endTime value to set.- Returns:
- the TroubleshootingResultInner object itself.
-
code
public String code()
Get the code property: The result code of the troubleshooting.- Returns:
- the code value.
-
withCode
public TroubleshootingResultInner withCode(String code)
Set the code property: The result code of the troubleshooting.- Parameters:
code- the code value to set.- Returns:
- the TroubleshootingResultInner object itself.
-
results
public List<TroubleshootingDetails> results()
Get the results property: Information from troubleshooting.- Returns:
- the results value.
-
withResults
public TroubleshootingResultInner withResults(List<TroubleshootingDetails> results)
Set the results property: Information from troubleshooting.- Parameters:
results- the results value to set.- Returns:
- the TroubleshootingResultInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-