Interface ScheduleRunRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ScheduleRunRequest.Builder,ScheduleRunRequest>,DeviceFarmRequest.Builder,SdkBuilder<ScheduleRunRequest.Builder,ScheduleRunRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ScheduleRunRequest
public static interface ScheduleRunRequest.Builder extends DeviceFarmRequest.Builder, SdkPojo, CopyableBuilder<ScheduleRunRequest.Builder,ScheduleRunRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ScheduleRunRequest.BuilderappArn(String appArn)The ARN of an application package to run tests against, created with CreateUpload.default ScheduleRunRequest.Builderconfiguration(Consumer<ScheduleRunConfiguration.Builder> configuration)Information about the settings for the run to be scheduled.ScheduleRunRequest.Builderconfiguration(ScheduleRunConfiguration configuration)Information about the settings for the run to be scheduled.ScheduleRunRequest.BuilderdevicePoolArn(String devicePoolArn)The ARN of the device pool for the run to be scheduled.default ScheduleRunRequest.BuilderdeviceSelectionConfiguration(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.ScheduleRunRequest.BuilderdeviceSelectionConfiguration(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.BuilderexecutionConfiguration(Consumer<ExecutionConfiguration.Builder> executionConfiguration)Specifies configuration information about a test run, such as the execution timeout (in minutes).ScheduleRunRequest.BuilderexecutionConfiguration(ExecutionConfiguration executionConfiguration)Specifies configuration information about a test run, such as the execution timeout (in minutes).ScheduleRunRequest.Buildername(String name)The name for the run to be scheduled.ScheduleRunRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ScheduleRunRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ScheduleRunRequest.BuilderprojectArn(String projectArn)The ARN of the project for the run to be scheduled.default ScheduleRunRequest.Buildertest(Consumer<ScheduleRunTest.Builder> test)Information about the test for the run to be scheduled.ScheduleRunRequest.Buildertest(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 Detail
-
projectArn
ScheduleRunRequest.Builder projectArn(String 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
ScheduleRunRequest.Builder appArn(String 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
ScheduleRunRequest.Builder devicePoolArn(String 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
devicePoolArnordeviceSelectionConfigurationis 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
devicePoolArnordeviceSelectionConfigurationis 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 thedevicePoolArnordeviceSelectionConfigurationis required in a request.DeviceSelectionConfiguration.Builderavoiding the need to create one manually viaDeviceSelectionConfiguration.builder().When the
Consumercompletes,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:
deviceSelectionConfiguration(DeviceSelectionConfiguration)
-
name
ScheduleRunRequest.Builder name(String 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
ScheduleRunRequest.Builder test(ScheduleRunTest 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
default ScheduleRunRequest.Builder test(Consumer<ScheduleRunTest.Builder> test)
Information about the test for the run to be scheduled.
This is a convenience method that creates an instance of theScheduleRunTest.Builderavoiding the need to create one manually viaScheduleRunTest.builder().When the
Consumercompletes,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:
test(ScheduleRunTest)
-
configuration
ScheduleRunRequest.Builder configuration(ScheduleRunConfiguration 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.Builderavoiding the need to create one manually viaScheduleRunConfiguration.builder().When the
Consumercompletes,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:
configuration(ScheduleRunConfiguration)
-
executionConfiguration
ScheduleRunRequest.Builder executionConfiguration(ExecutionConfiguration 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.Builderavoiding the need to create one manually viaExecutionConfiguration.builder().When the
Consumercompletes,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:
executionConfiguration(ExecutionConfiguration)
-
overrideConfiguration
ScheduleRunRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ScheduleRunRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-