public static interface ScheduleRunRequest.Builder extends DeviceFarmRequest.Builder, CopyableBuilder<ScheduleRunRequest.Builder,ScheduleRunRequest>
Modifier and Type | Method and Description |
---|---|
ScheduleRunRequest.Builder |
appArn(String appArn)
The ARN of the app to schedule a run.
|
default ScheduleRunRequest.Builder |
configuration(Consumer<ScheduleRunConfiguration.Builder> configuration)
Information about the settings for the run to be scheduled.
|
ScheduleRunRequest.Builder |
configuration(ScheduleRunConfiguration configuration)
Information about the settings for the run to be scheduled.
|
ScheduleRunRequest.Builder |
devicePoolArn(String devicePoolArn)
The ARN of the device pool for the run to be scheduled.
|
default ScheduleRunRequest.Builder |
executionConfiguration(Consumer<ExecutionConfiguration.Builder> executionConfiguration)
Specifies configuration information about a test run, such as the execution timeout (in minutes).
|
ScheduleRunRequest.Builder |
executionConfiguration(ExecutionConfiguration executionConfiguration)
Specifies configuration information about a test run, such as the execution timeout (in minutes).
|
ScheduleRunRequest.Builder |
name(String name)
The name for the run to be scheduled.
|
ScheduleRunRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ScheduleRunRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ScheduleRunRequest.Builder |
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.
|
ScheduleRunRequest.Builder |
test(ScheduleRunTest test)
Information about the test for the run to be scheduled.
|
build
overrideConfiguration
copy
applyMutation, build
ScheduleRunRequest.Builder projectArn(String projectArn)
The ARN of the project for the run to be scheduled.
projectArn
- The ARN of the project for the run to be scheduled.ScheduleRunRequest.Builder appArn(String appArn)
The ARN of the app to schedule a run.
appArn
- The ARN of the app to schedule a run.ScheduleRunRequest.Builder devicePoolArn(String devicePoolArn)
The ARN of the device pool for the run to be scheduled.
devicePoolArn
- The ARN of the device pool for the run to be scheduled.ScheduleRunRequest.Builder name(String name)
The name for the run to be scheduled.
name
- The name for the run to be scheduled.ScheduleRunRequest.Builder test(ScheduleRunTest test)
Information about the test for the run to be scheduled.
test
- Information about the test for the run to be scheduled.default ScheduleRunRequest.Builder test(Consumer<ScheduleRunTest.Builder> test)
Information about the test for the run to be scheduled.
This is a convenience that creates an instance of theScheduleRunTest.Builder
avoiding the need to
create one manually via ScheduleRunTest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to test(ScheduleRunTest)
.test
- a consumer that will call methods on ScheduleRunTest.Builder
test(ScheduleRunTest)
ScheduleRunRequest.Builder configuration(ScheduleRunConfiguration configuration)
Information about the settings for the run to be scheduled.
configuration
- Information about the settings for the run to be scheduled.default ScheduleRunRequest.Builder configuration(Consumer<ScheduleRunConfiguration.Builder> configuration)
Information about the settings for the run to be scheduled.
This is a convenience that creates an instance of theScheduleRunConfiguration.Builder
avoiding the
need to create one manually via ScheduleRunConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to configuration(ScheduleRunConfiguration)
.configuration
- a consumer that will call methods on ScheduleRunConfiguration.Builder
configuration(ScheduleRunConfiguration)
ScheduleRunRequest.Builder executionConfiguration(ExecutionConfiguration executionConfiguration)
Specifies configuration information about a test run, such as the execution timeout (in minutes).
executionConfiguration
- Specifies configuration information about a test run, such as the execution timeout (in minutes).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 that creates an instance of theExecutionConfiguration.Builder
avoiding the
need to create one manually via ExecutionConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to executionConfiguration(ExecutionConfiguration)
.executionConfiguration
- a consumer that will call methods on ExecutionConfiguration.Builder
executionConfiguration(ExecutionConfiguration)
ScheduleRunRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ScheduleRunRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.