TestJobCreateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.automation.models.TestJobCreateParameters

public final class TestJobCreateParameters

The parameters supplied to the create test job operation.

Constructor Summary

Constructor Description
TestJobCreateParameters()

Method Summary

Modifier and Type Method and Description
Map<String,String> parameters()

Get the parameters property: Gets or sets the parameters of the test job.

String runOn()

Get the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.

void validate()

Validates the instance.

TestJobCreateParameters withParameters(Map<String,String> parameters)

Set the parameters property: Gets or sets the parameters of the test job.

TestJobCreateParameters withRunOn(String runOn)

Set the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.

Methods inherited from java.lang.Object

Constructor Details

TestJobCreateParameters

public TestJobCreateParameters()

Method Details

parameters

public Map parameters()

Get the parameters property: Gets or sets the parameters of the test job.

Returns:

the parameters value.

runOn

public String runOn()

Get the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.

Returns:

the runOn value.

validate

public void validate()

Validates the instance.

withParameters

public TestJobCreateParameters withParameters(Map parameters)

Set the parameters property: Gets or sets the parameters of the test job.

Parameters:

parameters - the parameters value to set.

Returns:

the TestJobCreateParameters object itself.

withRunOn

public TestJobCreateParameters withRunOn(String runOn)

Set the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.

Parameters:

runOn - the runOn value to set.

Returns:

the TestJobCreateParameters object itself.

Applies to