TroubleshootingResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. TroubleshootingResultInner
- com.
Implements
public final class TroubleshootingResultInner
implements JsonSerializable<TroubleshootingResultInner>
Troubleshooting information gained from specified resource.
Constructor Summary
Constructor | Description |
---|---|
TroubleshootingResultInner() |
Creates an instance of Troubleshooting |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code property: The result code of the troubleshooting. |
Offset |
endTime()
Get the end |
static
Troubleshooting |
fromJson(JsonReader jsonReader)
Reads an instance of Troubleshooting |
List<Troubleshooting |
results()
Get the results property: Information from troubleshooting. |
Offset |
startTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Troubleshooting |
withCode(String code)
Set the code property: The result code of the troubleshooting. |
Troubleshooting |
withEndTime(OffsetDateTime endTime)
Set the end |
Troubleshooting |
withResults(List<TroubleshootingDetails> results)
Set the results property: Information from troubleshooting. |
Troubleshooting |
withStartTime(OffsetDateTime startTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
TroubleshootingResultInner
public TroubleshootingResultInner()
Creates an instance of TroubleshootingResultInner class.
Method Details
code
public String code()
Get the code property: The result code of the troubleshooting.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: The end time of the troubleshooting.
Returns:
fromJson
public static TroubleshootingResultInner fromJson(JsonReader jsonReader)
Reads an instance of TroubleshootingResultInner from the JsonReader.
Parameters:
Returns:
Throws:
results
public List
Get the results property: Information from troubleshooting.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The start time of the troubleshooting.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCode
public TroubleshootingResultInner withCode(String code)
Set the code property: The result code of the troubleshooting.
Parameters:
Returns:
withEndTime
public TroubleshootingResultInner withEndTime(OffsetDateTime endTime)
Set the endTime property: The end time of the troubleshooting.
Parameters:
Returns:
withResults
public TroubleshootingResultInner withResults(List
Set the results property: Information from troubleshooting.
Parameters:
Returns:
withStartTime
public TroubleshootingResultInner withStartTime(OffsetDateTime startTime)
Set the startTime property: The start time of the troubleshooting.
Parameters:
Returns:
Applies to
Azure SDK for Java