Class ScheduleRunRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.devicefarm.model.DeviceFarmRequest
-
- software.amazon.awssdk.services.devicefarm.model.ScheduleRunRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ScheduleRunRequest.Builder,ScheduleRunRequest>
@Generated("software.amazon.awssdk:codegen") public final class ScheduleRunRequest extends DeviceFarmRequest implements ToCopyableBuilder<ScheduleRunRequest.Builder,ScheduleRunRequest>
Represents a request to the schedule run operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScheduleRunRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringappArn()The ARN of an application package to run tests against, created with CreateUpload.static ScheduleRunRequest.Builderbuilder()ScheduleRunConfigurationconfiguration()Information about the settings for the run to be scheduled.StringdevicePoolArn()The ARN of the device pool for the run to be scheduled.DeviceSelectionConfigurationdeviceSelectionConfiguration()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.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExecutionConfigurationexecutionConfiguration()Specifies configuration information about a test run, such as the execution timeout (in minutes).<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name for the run to be scheduled.StringprojectArn()The ARN of the project for the run to be scheduled.List<SdkField<?>>sdkFields()static Class<? extends ScheduleRunRequest.Builder>serializableBuilderClass()ScheduleRunTesttest()Information about the test for the run to be scheduled.ScheduleRunRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
projectArn
public final String projectArn()
The ARN of the project for the run to be scheduled.
- Returns:
- The ARN of the project for the run to be scheduled.
-
appArn
public final String appArn()
The ARN of an application package to run tests against, created with CreateUpload. See ListUploads.
- Returns:
- The ARN of an application package to run tests against, created with CreateUpload. See ListUploads.
-
devicePoolArn
public final String devicePoolArn()
The ARN of the device pool for the run to be scheduled.
- Returns:
- The ARN of the device pool for the run to be scheduled.
-
deviceSelectionConfiguration
public final 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.- Returns:
- 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.
-
name
public final String name()
The name for the run to be scheduled.
- Returns:
- The name for the run to be scheduled.
-
test
public final ScheduleRunTest test()
Information about the test for the run to be scheduled.
- Returns:
- Information about the test for the run to be scheduled.
-
configuration
public final ScheduleRunConfiguration configuration()
Information about the settings for the run to be scheduled.
- Returns:
- Information about the settings for the run to be scheduled.
-
executionConfiguration
public final ExecutionConfiguration executionConfiguration()
Specifies configuration information about a test run, such as the execution timeout (in minutes).
- Returns:
- Specifies configuration information about a test run, such as the execution timeout (in minutes).
-
toBuilder
public ScheduleRunRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduleRunRequest.Builder,ScheduleRunRequest>- Specified by:
toBuilderin classDeviceFarmRequest
-
builder
public static ScheduleRunRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScheduleRunRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-