ActionDetail Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. ActionDetail
- com.
Implements
public final class ActionDetail
implements JsonSerializable<ActionDetail>
The action detail.
Constructor Summary
Constructor | Description |
---|---|
ActionDetail() |
Creates an instance of Action |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
detail()
Get the detail property: The detail of the friendly error message. |
static
Action |
fromJson(JsonReader jsonReader)
Reads an instance of Action |
String |
mechanismType()
Get the mechanism |
String |
name()
Get the name property: The name of the action. |
String |
sendTime()
Get the send |
String |
status()
Get the status property: The status of the action. |
String |
subState()
Get the sub |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Action |
withDetail(String detail)
Set the detail property: The detail of the friendly error message. |
Action |
withMechanismType(String mechanismType)
Set the mechanism |
Action |
withName(String name)
Set the name property: The name of the action. |
Action |
withSendTime(String sendTime)
Set the send |
Action |
withStatus(String status)
Set the status property: The status of the action. |
Action |
withSubState(String subState)
Set the sub |
Methods inherited from java.lang.Object
Constructor Details
ActionDetail
public ActionDetail()
Creates an instance of ActionDetail class.
Method Details
detail
public String detail()
Get the detail property: The detail of the friendly error message.
Returns:
fromJson
public static ActionDetail fromJson(JsonReader jsonReader)
Reads an instance of ActionDetail from the JsonReader.
Parameters:
Returns:
Throws:
mechanismType
public String mechanismType()
Get the mechanismType property: The mechanism type.
Returns:
name
public String name()
Get the name property: The name of the action.
Returns:
sendTime
public String sendTime()
Get the sendTime property: The send time.
Returns:
status
public String status()
Get the status property: The status of the action.
Returns:
subState
public String subState()
Get the subState property: The substatus of the action.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDetail
public ActionDetail withDetail(String detail)
Set the detail property: The detail of the friendly error message.
Parameters:
Returns:
withMechanismType
public ActionDetail withMechanismType(String mechanismType)
Set the mechanismType property: The mechanism type.
Parameters:
Returns:
withName
public ActionDetail withName(String name)
Set the name property: The name of the action.
Parameters:
Returns:
withSendTime
public ActionDetail withSendTime(String sendTime)
Set the sendTime property: The send time.
Parameters:
Returns:
withStatus
public ActionDetail withStatus(String status)
Set the status property: The status of the action.
Parameters:
Returns:
withSubState
public ActionDetail withSubState(String subState)
Set the subState property: The substatus of the action.
Parameters:
Returns:
Applies to
Azure SDK for Java