Class DefaultRunSetting
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DefaultRunSetting.Builder,DefaultRunSetting>
Shared configuration applied to all runs in a batch. Fields specified in a per-run InlineSetting entry
override the corresponding fields in this object for that run. The parameters and runTags
fields are merged rather than replaced — run-specific values take precedence when keys overlap.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultRunSetting.Builderbuilder()final CacheBehaviorThe cache behavior for the runs.final StringThe cache behavior for the runs.final StringcacheId()The identifier of the run cache to associate with the runs.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the RunTags property.final RunLogLevellogLevel()The verbosity level for CloudWatch Logs emitted during each run.final StringThe verbosity level for CloudWatch Logs emitted during each run.final Stringname()An optional user-friendly name applied to each workflow run.final StringThe expected AWS account ID of the owner of the output S3 bucket.final StringThe destination S3 URI for workflow outputs.final DocumentWorkflow parameter names and values shared across all runs.final Integerpriority()An integer priority for the workflow runs.final RunRetentionModeThe retention behavior for runs after completion.final StringThe retention behavior for runs after completion.final StringroleArn()The IAM role ARN that grants HealthOmics permissions to access required AWS resources such as Amazon S3 and CloudWatch.final StringThe ID of the run group to contain all workflow runs in the batch.runTags()AWS tags to associate with each workflow run.static Class<? extends DefaultRunSetting.Builder> final IntegerThe filesystem size in gibibytes (GiB) provisioned for each workflow run and shared by all tasks in that run.final StorageTypeThe storage type for the workflow runs.final StringThe storage type for the workflow runs.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe identifier of the workflow to run.final StringThe AWS account ID of the workflow owner, used for cross-account workflow sharing.final WorkflowTypeThe type of the originating workflow.final StringThe type of the originating workflow.final StringThe version name of the specified workflow.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
workflowId
The identifier of the workflow to run.
- Returns:
- The identifier of the workflow to run.
-
workflowType
The type of the originating workflow. Batch runs are not supported with
READY2RUNworkflows.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 type of the originating workflow. Batch runs are not supported with
READY2RUNworkflows. - See Also:
-
workflowTypeAsString
The type of the originating workflow. Batch runs are not supported with
READY2RUNworkflows.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 type of the originating workflow. Batch runs are not supported with
READY2RUNworkflows. - See Also:
-
roleArn
The IAM role ARN that grants HealthOmics permissions to access required AWS resources such as Amazon S3 and CloudWatch. The role must have the same permissions required for individual
StartRuncalls.- Returns:
- The IAM role ARN that grants HealthOmics permissions to access required AWS resources such as Amazon S3
and CloudWatch. The role must have the same permissions required for individual
StartRuncalls.
-
name
An optional user-friendly name applied to each workflow run. Can be overridden per run.
- Returns:
- An optional user-friendly name applied to each workflow run. Can be overridden per run.
-
cacheId
The identifier of the run cache to associate with the runs.
- Returns:
- The identifier of the run cache to associate with the runs.
-
cacheBehavior
The cache behavior for the runs. Requires
cacheIdto be set.If the service returns an enum value that is not available in the current SDK version,
cacheBehaviorwill returnCacheBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcacheBehaviorAsString().- Returns:
- The cache behavior for the runs. Requires
cacheIdto be set. - See Also:
-
cacheBehaviorAsString
The cache behavior for the runs. Requires
cacheIdto be set.If the service returns an enum value that is not available in the current SDK version,
cacheBehaviorwill returnCacheBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcacheBehaviorAsString().- Returns:
- The cache behavior for the runs. Requires
cacheIdto be set. - See Also:
-
runGroupId
The ID of the run group to contain all workflow runs in the batch.
- Returns:
- The ID of the run group to contain all workflow runs in the batch.
-
priority
An integer priority for the workflow runs. Higher values correspond to higher priority. A value of 0 corresponds to the lowest priority. Can be overridden per run.
- Returns:
- An integer priority for the workflow runs. Higher values correspond to higher priority. A value of 0 corresponds to the lowest priority. Can be overridden per run.
-
parameters
Workflow parameter names and values shared across all runs. Merged with per-run parameters; run-specific values take precedence when keys overlap. Can be overridden per run.
- Returns:
- Workflow parameter names and values shared across all runs. Merged with per-run parameters; run-specific values take precedence when keys overlap. Can be overridden per run.
-
storageCapacity
The filesystem size in gibibytes (GiB) provisioned for each workflow run and shared by all tasks in that run. Defaults to 1200 GiB if not specified.
- Returns:
- The filesystem size in gibibytes (GiB) provisioned for each workflow run and shared by all tasks in that run. Defaults to 1200 GiB if not specified.
-
outputUri
The destination S3 URI for workflow outputs. Must begin with
s3://. TheroleArnmust grant write permissions to this bucket. Can be overridden per run.- Returns:
- The destination S3 URI for workflow outputs. Must begin with
s3://. TheroleArnmust grant write permissions to this bucket. Can be overridden per run.
-
logLevel
The verbosity level for CloudWatch Logs emitted during each 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:
- The verbosity level for CloudWatch Logs emitted during each run.
- See Also:
-
logLevelAsString
The verbosity level for CloudWatch Logs emitted during each 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:
- The verbosity level for CloudWatch Logs emitted during each run.
- See Also:
-
hasRunTags
public final boolean hasRunTags()For responses, this returns true if the service returned a value for the RunTags 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. -
runTags
AWS tags to associate with each workflow run. Merged with per-run
runTags; run-specific values take precedence when keys overlap.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
hasRunTags()method.- Returns:
- AWS tags to associate with each workflow run. Merged with per-run
runTags; run-specific values take precedence when keys overlap.
-
retentionMode
The retention behavior for runs after completion.
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 behavior for runs after completion.
- See Also:
-
retentionModeAsString
The retention behavior for runs after completion.
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 behavior for runs after completion.
- See Also:
-
storageType
The storage type for the workflow runs.
If the service returns an enum value that is not available in the current SDK version,
storageTypewill returnStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageTypeAsString().- Returns:
- The storage type for the workflow runs.
- See Also:
-
storageTypeAsString
The storage type for the workflow runs.
If the service returns an enum value that is not available in the current SDK version,
storageTypewill returnStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageTypeAsString().- Returns:
- The storage type for the workflow runs.
- See Also:
-
workflowOwnerId
The AWS account ID of the workflow owner, used for cross-account workflow sharing.
- Returns:
- The AWS account ID of the workflow owner, used for cross-account workflow sharing.
-
outputBucketOwnerId
The expected AWS account ID of the owner of the output S3 bucket. Can be overridden per run.
- Returns:
- The expected AWS account ID of the owner of the output S3 bucket. Can be overridden per run.
-
workflowVersionName
The version name of the specified workflow.
- Returns:
- The version name of the specified workflow.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DefaultRunSetting.Builder,DefaultRunSetting> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-