@Generated(value="software.amazon.awssdk:codegen") public class ScheduleRunRequest extends DeviceFarmRequest implements ToCopyableBuilder<ScheduleRunRequest.Builder,ScheduleRunRequest>
Represents a request to the schedule run operation.
Modifier and Type | Class and Description |
---|---|
static interface |
ScheduleRunRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
appArn()
The ARN of the app to schedule a run.
|
static ScheduleRunRequest.Builder |
builder() |
ScheduleRunConfiguration |
configuration()
Information about the settings for the run to be scheduled.
|
String |
devicePoolArn()
The ARN of the device pool for the run to be scheduled.
|
boolean |
equals(Object obj) |
ExecutionConfiguration |
executionConfiguration()
Specifies configuration information about a test run, such as the execution timeout (in minutes).
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
name()
The name for the run to be scheduled.
|
String |
projectArn()
The ARN of the project for the run to be scheduled.
|
static Class<? extends ScheduleRunRequest.Builder> |
serializableBuilderClass() |
ScheduleRunTest |
test()
Information about the test for the run to be scheduled.
|
ScheduleRunRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String projectArn()
The ARN of the project for the run to be scheduled.
public String appArn()
The ARN of the app to schedule a run.
public String devicePoolArn()
The ARN of the device pool for the run to be scheduled.
public String name()
The name for the run to be scheduled.
public ScheduleRunTest test()
Information about the test for the run to be scheduled.
public ScheduleRunConfiguration configuration()
Information about the settings for the run to be scheduled.
public ExecutionConfiguration executionConfiguration()
Specifies configuration information about a test run, such as the execution timeout (in minutes).
public ScheduleRunRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ScheduleRunRequest.Builder,ScheduleRunRequest>
toBuilder
in class DeviceFarmRequest
public static ScheduleRunRequest.Builder builder()
public static Class<? extends ScheduleRunRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.