TestRunAppComponents Class

  • java.lang.Object
    • com.azure.developer.loadtesting.models.TestRunAppComponents

Implements

public final class TestRunAppComponents
implements JsonSerializable<TestRunAppComponents>

Test run app component.

Constructor Summary

Constructor Description
TestRunAppComponents()

Creates an instance of TestRunAppComponents class.

Method Summary

Modifier and Type Method and Description
static TestRunAppComponents fromJson(JsonReader jsonReader)

Reads an instance of TestRunAppComponents from the JsonReader.

Map<String,LoadTestingAppComponent> getComponents()

Get the components property: Azure resource collection { resource id (fully qualified resource Id e.g subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}) : resource object }.

String getCreatedBy()

Get the createdBy property: The user that created.

OffsetDateTime getCreatedDateTime()

Get the createdDateTime property: The creation datetime(RFC 3339 literal format).

String getLastModifiedBy()

Get the lastModifiedBy property: The user that last modified.

OffsetDateTime getLastModifiedDateTime()

Get the lastModifiedDateTime property: The last Modified datetime(RFC 3339 literal format).

String getTestRunId()

Get the testRunId property: Test run identifier.

TestRunAppComponents setComponents(Map<String,LoadTestingAppComponent> components)

Set the components property: Azure resource collection { resource id (fully qualified resource Id e.g subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}) : resource object }.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

TestRunAppComponents

public TestRunAppComponents()

Creates an instance of TestRunAppComponents class.

Method Details

fromJson

public static TestRunAppComponents fromJson(JsonReader jsonReader)

Reads an instance of TestRunAppComponents from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TestRunAppComponents if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TestRunAppComponents.

getComponents

public Map<String,LoadTestingAppComponent> getComponents()

Get the components property: Azure resource collection { resource id (fully qualified resource Id e.g subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}) : resource object }.

Returns:

the components value.

getCreatedBy

public String getCreatedBy()

Get the createdBy property: The user that created.

Returns:

the createdBy value.

getCreatedDateTime

public OffsetDateTime getCreatedDateTime()

Get the createdDateTime property: The creation datetime(RFC 3339 literal format).

Returns:

the createdDateTime value.

getLastModifiedBy

public String getLastModifiedBy()

Get the lastModifiedBy property: The user that last modified.

Returns:

the lastModifiedBy value.

getLastModifiedDateTime

public OffsetDateTime getLastModifiedDateTime()

Get the lastModifiedDateTime property: The last Modified datetime(RFC 3339 literal format).

Returns:

the lastModifiedDateTime value.

getTestRunId

public String getTestRunId()

Get the testRunId property: Test run identifier.

Returns:

the testRunId value.

setComponents

public TestRunAppComponents setComponents(Map<String,LoadTestingAppComponent> components)

Set the components property: Azure resource collection { resource id (fully qualified resource Id e.g subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}) : resource object }.

Required when create the resource.

Parameters:

components - the components value to set.

Returns:

the TestRunAppComponents object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to