@Generated(value="software.amazon.awssdk:codegen") public final class DescribeSimulationJobResponse extends RoboMakerResponse implements ToCopyableBuilder<DescribeSimulationJobResponse.Builder,DescribeSimulationJobResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeSimulationJobResponse.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the simulation job.
|
static DescribeSimulationJobResponse.Builder |
builder() |
String |
clientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
ComputeResponse |
compute()
Compute information for the simulation job.
|
List<DataSource> |
dataSources()
The data sources for the simulation job.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
FailureBehavior |
failureBehavior()
The failure behavior for the simulation job.
|
String |
failureBehaviorAsString()
The failure behavior for the simulation job.
|
SimulationJobErrorCode |
failureCode()
The failure code of the simulation job if it failed:
|
String |
failureCodeAsString()
The failure code of the simulation job if it failed:
|
String |
failureReason()
Details about why the simulation job failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
boolean |
hasDataSources()
Returns true if the DataSources property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRobotApplications()
Returns true if the RobotApplications property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSimulationApplications()
Returns true if the SimulationApplications property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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.
|
Instant |
lastStartedAt()
The time, in milliseconds since the epoch, when the simulation job was last started.
|
Instant |
lastUpdatedAt()
The time, in milliseconds since the epoch, when the simulation job was last updated.
|
LoggingConfig |
loggingConfig()
The logging configuration.
|
Long |
maxJobDurationInSeconds()
The maximum job duration in seconds.
|
String |
name()
The name of the simulation job.
|
NetworkInterface |
networkInterface()
The network interface information for the simulation job.
|
OutputLocation |
outputLocation()
Location for output files generated by the simulation job.
|
List<RobotApplicationConfig> |
robotApplications()
A list of robot applications.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeSimulationJobResponse.Builder> |
serializableBuilderClass() |
List<SimulationApplicationConfig> |
simulationApplications()
A list of simulation applications.
|
Long |
simulationTimeMillis()
The simulation job execution duration in milliseconds.
|
SimulationJobStatus |
status()
The status of the simulation job.
|
String |
statusAsString()
The status of the simulation job.
|
Map<String,String> |
tags()
The list of all tags added to the specified simulation job.
|
DescribeSimulationJobResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
VPCConfigResponse |
vpcConfig()
The VPC configuration.
|
responseMetadata
sdkHttpResponse
copy
public final String arn()
The Amazon Resource Name (ARN) of the simulation job.
public final String name()
The name of the simulation job.
public final SimulationJobStatus status()
The status of the simulation job.
If the service returns an enum value that is not available in the current SDK version, status
will
return SimulationJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
SimulationJobStatus
public final String statusAsString()
The status of the simulation job.
If the service returns an enum value that is not available in the current SDK version, status
will
return SimulationJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
SimulationJobStatus
public final Instant lastStartedAt()
The time, in milliseconds since the epoch, when the simulation job was last started.
public final Instant lastUpdatedAt()
The time, in milliseconds since the epoch, when the simulation job was last updated.
public final FailureBehavior failureBehavior()
The failure behavior for the simulation job.
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()
.
FailureBehavior
public final String failureBehaviorAsString()
The failure behavior for the simulation job.
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()
.
FailureBehavior
public final SimulationJobErrorCode failureCode()
The failure code of the simulation job if it failed:
Internal service error.
Robot application exited abnormally.
Simulation application exited abnormally.
Robot application bundle could not be downloaded.
Simulation application bundle could not be downloaded.
Unable to publish outputs to customer-provided S3 bucket.
Unable to publish logs to customer-provided CloudWatch Logs resource.
Subnet IP limit exceeded.
ENI limit exceeded.
Unable to use the Role provided.
Robot bundle cannot be extracted (invalid format, bundling error, or other issue).
Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).
Etag for RobotApplication does not match value during version creation.
Etag for SimulationApplication does not match value during version creation.
If the service returns an enum value that is not available in the current SDK version, failureCode
will
return SimulationJobErrorCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from failureCodeAsString()
.
Internal service error.
Robot application exited abnormally.
Simulation application exited abnormally.
Robot application bundle could not be downloaded.
Simulation application bundle could not be downloaded.
Unable to publish outputs to customer-provided S3 bucket.
Unable to publish logs to customer-provided CloudWatch Logs resource.
Subnet IP limit exceeded.
ENI limit exceeded.
Unable to use the Role provided.
Robot bundle cannot be extracted (invalid format, bundling error, or other issue).
Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).
Etag for RobotApplication does not match value during version creation.
Etag for SimulationApplication does not match value during version creation.
SimulationJobErrorCode
public final String failureCodeAsString()
The failure code of the simulation job if it failed:
Internal service error.
Robot application exited abnormally.
Simulation application exited abnormally.
Robot application bundle could not be downloaded.
Simulation application bundle could not be downloaded.
Unable to publish outputs to customer-provided S3 bucket.
Unable to publish logs to customer-provided CloudWatch Logs resource.
Subnet IP limit exceeded.
ENI limit exceeded.
Unable to use the Role provided.
Robot bundle cannot be extracted (invalid format, bundling error, or other issue).
Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).
Etag for RobotApplication does not match value during version creation.
Etag for SimulationApplication does not match value during version creation.
If the service returns an enum value that is not available in the current SDK version, failureCode
will
return SimulationJobErrorCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from failureCodeAsString()
.
Internal service error.
Robot application exited abnormally.
Simulation application exited abnormally.
Robot application bundle could not be downloaded.
Simulation application bundle could not be downloaded.
Unable to publish outputs to customer-provided S3 bucket.
Unable to publish logs to customer-provided CloudWatch Logs resource.
Subnet IP limit exceeded.
ENI limit exceeded.
Unable to use the Role provided.
Robot bundle cannot be extracted (invalid format, bundling error, or other issue).
Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).
Etag for RobotApplication does not match value during version creation.
Etag for SimulationApplication does not match value during version creation.
SimulationJobErrorCode
public final String failureReason()
Details about why the simulation job failed. For more information about troubleshooting, see Troubleshooting.
public final String clientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public final OutputLocation outputLocation()
Location for output files generated by the simulation job.
public final LoggingConfig loggingConfig()
The logging configuration.
public final Long maxJobDurationInSeconds()
The maximum job duration in seconds. The value must be 8 days (691,200 seconds) or less.
public final Long simulationTimeMillis()
The simulation job execution duration in milliseconds.
public final 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.
public final boolean hasRobotApplications()
public final List<RobotApplicationConfig> robotApplications()
A list of robot applications.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRobotApplications()
to see if a value was sent in this field.
public final boolean hasSimulationApplications()
public final List<SimulationApplicationConfig> simulationApplications()
A list of simulation applications.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSimulationApplications()
to see if a value was sent in this field.
public final boolean hasDataSources()
public final List<DataSource> dataSources()
The data sources for the simulation job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDataSources()
to see if a value was sent in this field.
public final boolean hasTags()
public final Map<String,String> tags()
The list of all tags added to the specified simulation job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags()
to see if a value was sent in this field.
public final VPCConfigResponse vpcConfig()
The VPC configuration.
public final NetworkInterface networkInterface()
The network interface information for the simulation job.
public final ComputeResponse compute()
Compute information for the simulation job.
public DescribeSimulationJobResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeSimulationJobResponse.Builder,DescribeSimulationJobResponse>
toBuilder
in class AwsResponse
public static DescribeSimulationJobResponse.Builder builder()
public static Class<? extends DescribeSimulationJobResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. 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 SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.