Class StartRunRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.omics.model.OmicsRequest
-
- software.amazon.awssdk.services.omics.model.StartRunRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartRunRequest.Builder,StartRunRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartRunRequest extends OmicsRequest implements ToCopyableBuilder<StartRunRequest.Builder,StartRunRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartRunRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartRunRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.RunLogLevellogLevel()A log level for the run.StringlogLevelAsString()A log level for the run.Stringname()A name for the run.StringoutputUri()An output URI for the run.Documentparameters()Parameters for the run.Integerpriority()A priority for the run.StringrequestId()To ensure that requests don't run multiple times, specify a unique ID for each request.RunRetentionModeretentionMode()The retention mode for the run.StringretentionModeAsString()The retention mode for the run.StringroleArn()A service role for the run.StringrunGroupId()The run's group ID.StringrunId()The ID of a run to duplicate.List<SdkField<?>>sdkFields()static Class<? extends StartRunRequest.Builder>serializableBuilderClass()IntegerstorageCapacity()A storage capacity for the run in gigabytes.Map<String,String>tags()Tags for the run.StartRunRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkflowId()The run's workflow ID.WorkflowTypeworkflowType()The run's workflow type.StringworkflowTypeAsString()The run's workflow type.-
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
-
workflowId
public final String workflowId()
The run's workflow ID.
- Returns:
- The run's workflow ID.
-
workflowType
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,
workflowTypewill returnWorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromworkflowTypeAsString().- Returns:
- The run's workflow type.
- See Also:
WorkflowType
-
workflowTypeAsString
public final String workflowTypeAsString()
The run's workflow type.
If the service returns an enum value that is not available in the current SDK version,
workflowTypewill returnWorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromworkflowTypeAsString().- Returns:
- The run's workflow type.
- See Also:
WorkflowType
-
runId
public final String runId()
The ID of a run to duplicate.
- Returns:
- The ID of a run to duplicate.
-
roleArn
public final String roleArn()
A service role for the run.
- Returns:
- A service role for the run.
-
name
public final String name()
A name for the run.
- Returns:
- A name for the run.
-
runGroupId
public final String runGroupId()
The run's group ID.
- Returns:
- The run's group ID.
-
priority
public final Integer priority()
A priority for the run.
- Returns:
- A priority for the run.
-
parameters
public final Document parameters()
Parameters for the run.
- Returns:
- Parameters for the run.
-
storageCapacity
public final Integer storageCapacity()
A storage capacity for the run in gigabytes.
- Returns:
- A storage capacity for the run in gigabytes.
-
outputUri
public final String outputUri()
An output URI for the run.
- Returns:
- An output URI for the run.
-
logLevel
public final RunLogLevel logLevel()
A log level for the run.
If the service returns an enum value that is not available in the current SDK version,
logLevelwill returnRunLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogLevelAsString().- Returns:
- A log level for the run.
- See Also:
RunLogLevel
-
logLevelAsString
public final String logLevelAsString()
A log level for the run.
If the service returns an enum value that is not available in the current SDK version,
logLevelwill returnRunLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogLevelAsString().- Returns:
- A log level for the run.
- See Also:
RunLogLevel
-
hasTags
public final boolean hasTags()
For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
tags
public final Map<String,String> tags()
Tags for the run.
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.- Returns:
- Tags for the run.
-
requestId
public final String requestId()
To ensure that requests don't run multiple times, specify a unique ID for each request.
- Returns:
- To ensure that requests don't run multiple times, specify a unique ID for each request.
-
retentionMode
public final RunRetentionMode retentionMode()
The retention mode for the run.
If the service returns an enum value that is not available in the current SDK version,
retentionModewill returnRunRetentionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromretentionModeAsString().- Returns:
- The retention mode for the run.
- See Also:
RunRetentionMode
-
retentionModeAsString
public final String retentionModeAsString()
The retention mode for the run.
If the service returns an enum value that is not available in the current SDK version,
retentionModewill returnRunRetentionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromretentionModeAsString().- Returns:
- The retention mode for the run.
- See Also:
RunRetentionMode
-
toBuilder
public StartRunRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartRunRequest.Builder,StartRunRequest>- Specified by:
toBuilderin classOmicsRequest
-
builder
public static StartRunRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartRunRequest.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
-
-