Interface ScheduleRunRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ScheduleRunRequest.Builder,
,ScheduleRunRequest> DeviceFarmRequest.Builder
,SdkBuilder<ScheduleRunRequest.Builder,
,ScheduleRunRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ScheduleRunRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of an application package to run tests against, created with CreateUpload.default ScheduleRunRequest.Builder
configuration
(Consumer<ScheduleRunConfiguration.Builder> configuration) Information about the settings for the run to be scheduled.configuration
(ScheduleRunConfiguration configuration) Information about the settings for the run to be scheduled.devicePoolArn
(String devicePoolArn) The ARN of the device pool for the run to be scheduled.default ScheduleRunRequest.Builder
deviceSelectionConfiguration
(Consumer<DeviceSelectionConfiguration.Builder> deviceSelectionConfiguration) The filter criteria used to dynamically select a set of devices for a test run and the maximum number of devices to be included in the run.deviceSelectionConfiguration
(DeviceSelectionConfiguration deviceSelectionConfiguration) The filter criteria used to dynamically select a set of devices for a test run and the maximum number of devices to be included in the run.default ScheduleRunRequest.Builder
executionConfiguration
(Consumer<ExecutionConfiguration.Builder> executionConfiguration) Specifies configuration information about a test run, such as the execution timeout (in minutes).executionConfiguration
(ExecutionConfiguration executionConfiguration) Specifies configuration information about a test run, such as the execution timeout (in minutes).The name for the run to be scheduled.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.projectArn
(String projectArn) The ARN of the project for the run to be scheduled.default ScheduleRunRequest.Builder
test
(Consumer<ScheduleRunTest.Builder> test) Information about the test for the run to be scheduled.test
(ScheduleRunTest test) Information about the test for the run to be scheduled.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
projectArn
The ARN of the project for the run to be scheduled.
- Parameters:
projectArn
- The ARN of the project for the run to be scheduled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appArn
The ARN of an application package to run tests against, created with CreateUpload. See ListUploads.
- Parameters:
appArn
- The ARN of an application package to run tests against, created with CreateUpload. See ListUploads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devicePoolArn
The ARN of the device pool for the run to be scheduled.
- Parameters:
devicePoolArn
- The ARN of the device pool for the run to be scheduled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceSelectionConfiguration
ScheduleRunRequest.Builder deviceSelectionConfiguration(DeviceSelectionConfiguration deviceSelectionConfiguration) The filter criteria used to dynamically select a set of devices for a test run and the maximum number of devices to be included in the run.
Either
devicePoolArn
ordeviceSelectionConfiguration
is required in a request.- Parameters:
deviceSelectionConfiguration
- The filter criteria used to dynamically select a set of devices for a test run and the maximum number of devices to be included in the run.Either
devicePoolArn
ordeviceSelectionConfiguration
is required in a request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceSelectionConfiguration
default ScheduleRunRequest.Builder deviceSelectionConfiguration(Consumer<DeviceSelectionConfiguration.Builder> deviceSelectionConfiguration) The filter criteria used to dynamically select a set of devices for a test run and the maximum number of devices to be included in the run.
Either
This is a convenience method that creates an instance of thedevicePoolArn
ordeviceSelectionConfiguration
is required in a request.DeviceSelectionConfiguration.Builder
avoiding the need to create one manually viaDeviceSelectionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceSelectionConfiguration(DeviceSelectionConfiguration)
.- Parameters:
deviceSelectionConfiguration
- a consumer that will call methods onDeviceSelectionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name for the run to be scheduled.
- Parameters:
name
- The name for the run to be scheduled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
test
Information about the test for the run to be scheduled.
- Parameters:
test
- Information about the test for the run to be scheduled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
test
Information about the test for the run to be scheduled.
This is a convenience method that creates an instance of theScheduleRunTest.Builder
avoiding the need to create one manually viaScheduleRunTest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totest(ScheduleRunTest)
.- Parameters:
test
- a consumer that will call methods onScheduleRunTest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configuration
Information about the settings for the run to be scheduled.
- Parameters:
configuration
- Information about the settings for the run to be scheduled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default ScheduleRunRequest.Builder configuration(Consumer<ScheduleRunConfiguration.Builder> configuration) Information about the settings for the run to be scheduled.
This is a convenience method that creates an instance of theScheduleRunConfiguration.Builder
avoiding the need to create one manually viaScheduleRunConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(ScheduleRunConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onScheduleRunConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionConfiguration
Specifies configuration information about a test run, such as the execution timeout (in minutes).
- Parameters:
executionConfiguration
- Specifies configuration information about a test run, such as the execution timeout (in minutes).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionConfiguration
default ScheduleRunRequest.Builder executionConfiguration(Consumer<ExecutionConfiguration.Builder> executionConfiguration) Specifies configuration information about a test run, such as the execution timeout (in minutes).
This is a convenience method that creates an instance of theExecutionConfiguration.Builder
avoiding the need to create one manually viaExecutionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutionConfiguration(ExecutionConfiguration)
.- Parameters:
executionConfiguration
- a consumer that will call methods onExecutionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ScheduleRunRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ScheduleRunRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-