@Generated(value="software.amazon.awssdk:codegen") public final class CreateSimulationJobRequest extends RoboMakerRequest implements ToCopyableBuilder<CreateSimulationJobRequest.Builder,CreateSimulationJobRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateSimulationJobRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateSimulationJobRequest.Builder |
builder() |
String |
clientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
boolean |
equals(Object obj) |
FailureBehavior |
failureBehavior()
The failure behavior the simulation job.
|
String |
failureBehaviorAsString()
The failure behavior the simulation job.
|
<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 |
iamRole()
The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated
policies on your behalf.
|
Long |
maxJobDurationInSeconds()
The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds.
|
OutputLocation |
outputLocation()
Location for output files generated by the simulation job.
|
List<RobotApplicationConfig> |
robotApplications()
The robot application to use in the simulation job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateSimulationJobRequest.Builder> |
serializableBuilderClass() |
List<SimulationApplicationConfig> |
simulationApplications()
The simulation application to use in the simulation job.
|
CreateSimulationJobRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
VPCConfig |
vpcConfig()
If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security
group IDs and subnet IDs.
|
overrideConfiguration
copy
public String clientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public OutputLocation outputLocation()
Location for output files generated by the simulation job.
public Long maxJobDurationInSeconds()
The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When
maxJobDurationInSeconds
is reached, the simulation job will status will transition to
Completed
.
maxJobDurationInSeconds
is reached, the simulation job will status will transition to
Completed
.public String iamRole()
The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf. This is how credentials are passed in to your simulation job. See how to specify AWS security credentials for your application.
public FailureBehavior failureBehavior()
The failure behavior the simulation job.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
If the service returns an enum value that is not available in the current SDK version, failureBehavior
will return FailureBehavior.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from failureBehaviorAsString()
.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
FailureBehavior
public String failureBehaviorAsString()
The failure behavior the simulation job.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
If the service returns an enum value that is not available in the current SDK version, failureBehavior
will return FailureBehavior.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from failureBehaviorAsString()
.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
FailureBehavior
public List<RobotApplicationConfig> robotApplications()
The robot application to use in the simulation job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<SimulationApplicationConfig> simulationApplications()
The simulation application to use in the simulation job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public VPCConfig vpcConfig()
If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.
public CreateSimulationJobRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateSimulationJobRequest.Builder,CreateSimulationJobRequest>
toBuilder
in class RoboMakerRequest
public static CreateSimulationJobRequest.Builder builder()
public static Class<? extends CreateSimulationJobRequest.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.