Trigger Class
- java.
lang. Object - com.
azure. developer. loadtesting. models. Trigger
- com.
Implements
public class Trigger
implements JsonSerializable<Trigger>
Trigger model.
Constructor Summary
| Constructor | Description |
|---|---|
| Trigger() |
Creates an instance of Trigger class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Trigger |
fromJson(JsonReader jsonReader)
Reads an instance of Trigger from the Json |
| String |
getCreatedBy()
Get the created |
|
Offset |
getCreatedDateTime()
Get the created |
| String |
getDescription()
Get the description property: The description of the trigger. |
| String |
getDisplayName()
Get the display |
|
Trigger |
getKind()
Get the kind property: The type of the trigger. |
| String |
getLastModifiedBy()
Get the last |
|
Offset |
getLastModifiedDateTime()
Get the last |
|
Trigger |
getState()
Get the state property: The current state of the trigger. |
|
State |
getStateDetails()
Get the state |
| String |
getTriggerId()
Get the trigger |
| Trigger |
setDescription(String description)
Set the description property: The description of the trigger. |
| Trigger |
setDisplayName(String displayName)
Set the display |
| Trigger |
setState(TriggerState state)
Set the state property: The current state of the trigger. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
Trigger
public Trigger()
Creates an instance of Trigger class.
Method Details
fromJson
public static Trigger fromJson(JsonReader jsonReader)
Reads an instance of Trigger from the JsonReader.
Parameters:
Returns:
Throws:
getCreatedBy
public String getCreatedBy()
Get the createdBy property: The user that created.
Returns:
getCreatedDateTime
public OffsetDateTime getCreatedDateTime()
Get the createdDateTime property: The creation datetime(RFC 3339 literal format).
Returns:
getDescription
public String getDescription()
Get the description property: The description of the trigger.
Returns:
getDisplayName
public String getDisplayName()
Get the displayName property: The name of the trigger.
Returns:
getKind
public TriggerType getKind()
Get the kind property: The type of the trigger.
Returns:
getLastModifiedBy
public String getLastModifiedBy()
Get the lastModifiedBy property: The user that last modified.
Returns:
getLastModifiedDateTime
public OffsetDateTime getLastModifiedDateTime()
Get the lastModifiedDateTime property: The last Modified datetime(RFC 3339 literal format).
Returns:
getState
public TriggerState getState()
Get the state property: The current state of the trigger.
Returns:
getStateDetails
public StateDetails getStateDetails()
Get the stateDetails property: Details of current state of the trigger.
Returns:
getTriggerId
public String getTriggerId()
Get the triggerId property: The unique identifier of the trigger.
Returns:
setDescription
public Trigger setDescription(String description)
Set the description property: The description of the trigger.
Parameters:
Returns:
setDisplayName
public Trigger setDisplayName(String displayName)
Set the displayName property: The name of the trigger.
Required when create the resource.
Parameters:
Returns:
setState
public Trigger setState(TriggerState state)
Set the state property: The current state of the trigger.
Parameters:
Returns: