@Generated(value="software.amazon.awssdk:codegen") public final class GetRunResponse extends OmicsResponse implements ToCopyableBuilder<GetRunResponse.Builder,GetRunResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetRunResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
Accelerators |
accelerators()
The computational accelerator used to run the workflow.
|
String |
acceleratorsAsString()
The computational accelerator used to run the workflow.
|
String |
arn()
The run's ARN.
|
static GetRunResponse.Builder |
builder() |
Instant |
creationTime()
When the run was created.
|
String |
definition()
The run's definition.
|
String |
digest()
The run's digest.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
The reason a run has failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasResourceDigests()
For responses, this returns true if the service returned a value for the ResourceDigests property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
id()
The run's ID.
|
RunLogLevel |
logLevel()
The run's log level.
|
String |
logLevelAsString()
The run's log level.
|
RunLogLocation |
logLocation()
The location of the run log.
|
String |
name()
The run's name.
|
String |
outputUri()
The run's output URI.
|
Document |
parameters()
The run's parameters.
|
Integer |
priority()
The run's priority.
|
Map<String,String> |
resourceDigests()
The run's resource digests.
|
RunRetentionMode |
retentionMode()
The run's retention mode.
|
String |
retentionModeAsString()
The run's retention mode.
|
String |
roleArn()
The run's service role ARN.
|
String |
runGroupId()
The run's group ID.
|
String |
runId()
The run's ID.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetRunResponse.Builder> |
serializableBuilderClass() |
String |
startedBy()
Who started the run.
|
Instant |
startTime()
When the run started.
|
RunStatus |
status()
The run's status.
|
String |
statusAsString()
The run's status.
|
String |
statusMessage()
The run's status message.
|
Instant |
stopTime()
The run's stop time.
|
Integer |
storageCapacity()
The run's storage capacity in gigabytes.
|
Map<String,String> |
tags()
The run's tags.
|
GetRunResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workflowId()
The run's workflow ID.
|
WorkflowType |
workflowType()
The run's workflow type.
|
String |
workflowTypeAsString()
The run's workflow type.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The run's ARN.
public final String id()
The run's ID.
public final RunStatus status()
The run's status.
If the service returns an enum value that is not available in the current SDK version, status will
return RunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
RunStatuspublic final String statusAsString()
The run's status.
If the service returns an enum value that is not available in the current SDK version, status will
return RunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
RunStatuspublic final String workflowId()
The run's workflow ID.
public final WorkflowType workflowType()
The run's workflow type.
If the service returns an enum value that is not available in the current SDK version, workflowType will
return WorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
workflowTypeAsString().
WorkflowTypepublic final String workflowTypeAsString()
The run's workflow type.
If the service returns an enum value that is not available in the current SDK version, workflowType will
return WorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
workflowTypeAsString().
WorkflowTypepublic final String runId()
The run's ID.
public final String roleArn()
The run's service role ARN.
public final String name()
The run's name.
public final String runGroupId()
The run's group ID.
public final Integer priority()
The run's priority.
public final String definition()
The run's definition.
public final String digest()
The run's digest.
public final Document parameters()
The run's parameters.
public final Integer storageCapacity()
The run's storage capacity in gigabytes.
public final String outputUri()
The run's output URI.
public final RunLogLevel logLevel()
The run's log level.
If the service returns an enum value that is not available in the current SDK version, logLevel will
return RunLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
logLevelAsString().
RunLogLevelpublic final String logLevelAsString()
The run's log level.
If the service returns an enum value that is not available in the current SDK version, logLevel will
return RunLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
logLevelAsString().
RunLogLevelpublic final boolean hasResourceDigests()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> resourceDigests()
The run's resource digests.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResourceDigests() method.
public final String startedBy()
Who started the run.
public final Instant creationTime()
When the run was created.
public final Instant startTime()
When the run started.
public final Instant stopTime()
The run's stop time.
public final String statusMessage()
The run's status message.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
The run's tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final Accelerators accelerators()
The computational accelerator used to run the workflow.
If the service returns an enum value that is not available in the current SDK version, accelerators will
return Accelerators.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
acceleratorsAsString().
Acceleratorspublic final String acceleratorsAsString()
The computational accelerator used to run the workflow.
If the service returns an enum value that is not available in the current SDK version, accelerators will
return Accelerators.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
acceleratorsAsString().
Acceleratorspublic final RunRetentionMode retentionMode()
The run's retention mode.
If the service returns an enum value that is not available in the current SDK version, retentionMode
will return RunRetentionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from retentionModeAsString().
RunRetentionModepublic final String retentionModeAsString()
The run's retention mode.
If the service returns an enum value that is not available in the current SDK version, retentionMode
will return RunRetentionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from retentionModeAsString().
RunRetentionModepublic final String failureReason()
The reason a run has failed.
public final RunLogLocation logLocation()
The location of the run log.
public GetRunResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetRunResponse.Builder,GetRunResponse>toBuilder in class AwsResponsepublic static GetRunResponse.Builder builder()
public static Class<? extends GetRunResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.