Class UpdateWorkflowRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateWorkflowRequest.Builder,UpdateWorkflowRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Codecode()The location of code artifacts in Amazon S3 for the updated workflow.final DefinitionS3LocationThe Amazon S3 location where the updated workflow definition file is stored.final StringAn updated description for the workflow.final IntegerThe version of the Amazon Managed Workflows for Apache Airflow Serverless engine that you want to use for the updated workflow.final EnvironmentThe environment variables to set for tasks in the workflow.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) Used to retrieve the value of a field from any class that extendsSdkRequest.final inthashCode()final LoggingConfigurationUpdated logging configuration for the workflow.final NetworkConfigurationUpdated network configuration for the workflow execution environment.final OnBehalfOfIdentitySpecifies whether scheduled runs of the new workflow version carry your identity context in addition to the execution role.final StringSpecifies whether scheduled runs of the new workflow version carry your identity context in addition to the execution role.final StringroleArn()The Amazon Resource Name (ARN) of the IAM role that Amazon Managed Workflows for Apache Airflow Serverless assumes when it executes the updated workflow.static Class<? extends UpdateWorkflowRequest.Builder> 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 trigger mode for the workflow execution.final StringThe Amazon Resource Name (ARN) of the workflow you want to update.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
workflowArn
The Amazon Resource Name (ARN) of the workflow you want to update.
- Returns:
- The Amazon Resource Name (ARN) of the workflow you want to update.
-
definitionS3Location
The Amazon S3 location where the updated workflow definition file is stored.
- Returns:
- The Amazon S3 location where the updated workflow definition file is stored.
-
code
The location of code artifacts in Amazon S3 for the updated workflow. The service copies the code from this location at the time of the request.
- Returns:
- The location of code artifacts in Amazon S3 for the updated workflow. The service copies the code from this location at the time of the request.
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that Amazon Managed Workflows for Apache Airflow Serverless assumes when it executes the updated workflow.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role that Amazon Managed Workflows for Apache Airflow Serverless assumes when it executes the updated workflow.
-
description
An updated description for the workflow.
- Returns:
- An updated description for the workflow.
-
loggingConfiguration
Updated logging configuration for the workflow.
- Returns:
- Updated logging configuration for the workflow.
-
engineVersion
The version of the Amazon Managed Workflows for Apache Airflow Serverless engine that you want to use for the updated workflow.
- Returns:
- The version of the Amazon Managed Workflows for Apache Airflow Serverless engine that you want to use for the updated workflow.
-
networkConfiguration
Updated network configuration for the workflow execution environment.
- Returns:
- Updated network configuration for the workflow execution environment.
-
environment
The environment variables to set for tasks in the workflow.
The variables that you specify replace all existing environment variables for the workflow. If you don't specify this parameter, the workflow has no environment variables. To keep existing environment variables, include them in the request.
- Returns:
- The environment variables to set for tasks in the workflow.
The variables that you specify replace all existing environment variables for the workflow. If you don't specify this parameter, the workflow has no environment variables. To keep existing environment variables, include them in the request.
-
triggerMode
The trigger mode for the workflow execution.
- Returns:
- The trigger mode for the workflow execution.
-
onBehalfOf
Specifies whether scheduled runs of the new workflow version carry your identity context in addition to the execution role. Identity context is information about your user identity that Amazon Web Services propagates with your credentials, for example when you sign in through IAM Identity Center. Specify one of the following values:
-
EXECUTION_ROLE– If you specify this value, scheduled runs use only the execution role that you specify inRoleArn. -
ORIGIN_IDENTITY– If you specify this value, scheduled runs use the execution role that you specify inRoleArn, with your identity context attached. To use this value, the workflow definition must include a schedule. The credentials that you sign the request with must also include identity context.
If you don't specify this parameter, the new workflow version uses
EXECUTION_ROLE, and its scheduled runs no longer carry your identity context. To keep your identity context attached to scheduled runs, specifyORIGIN_IDENTITYagain. Scheduled runs of the new version then carry the identity context from your update request.If the service returns an enum value that is not available in the current SDK version,
onBehalfOfwill returnOnBehalfOfIdentity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromonBehalfOfAsString().- Returns:
- Specifies whether scheduled runs of the new workflow version carry your identity context in addition to
the execution role. Identity context is information about your user identity that Amazon Web Services
propagates with your credentials, for example when you sign in through IAM Identity Center. Specify one
of the following values:
-
EXECUTION_ROLE– If you specify this value, scheduled runs use only the execution role that you specify inRoleArn. -
ORIGIN_IDENTITY– If you specify this value, scheduled runs use the execution role that you specify inRoleArn, with your identity context attached. To use this value, the workflow definition must include a schedule. The credentials that you sign the request with must also include identity context.
If you don't specify this parameter, the new workflow version uses
EXECUTION_ROLE, and its scheduled runs no longer carry your identity context. To keep your identity context attached to scheduled runs, specifyORIGIN_IDENTITYagain. Scheduled runs of the new version then carry the identity context from your update request. -
- See Also:
-
-
onBehalfOfAsString
Specifies whether scheduled runs of the new workflow version carry your identity context in addition to the execution role. Identity context is information about your user identity that Amazon Web Services propagates with your credentials, for example when you sign in through IAM Identity Center. Specify one of the following values:
-
EXECUTION_ROLE– If you specify this value, scheduled runs use only the execution role that you specify inRoleArn. -
ORIGIN_IDENTITY– If you specify this value, scheduled runs use the execution role that you specify inRoleArn, with your identity context attached. To use this value, the workflow definition must include a schedule. The credentials that you sign the request with must also include identity context.
If you don't specify this parameter, the new workflow version uses
EXECUTION_ROLE, and its scheduled runs no longer carry your identity context. To keep your identity context attached to scheduled runs, specifyORIGIN_IDENTITYagain. Scheduled runs of the new version then carry the identity context from your update request.If the service returns an enum value that is not available in the current SDK version,
onBehalfOfwill returnOnBehalfOfIdentity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromonBehalfOfAsString().- Returns:
- Specifies whether scheduled runs of the new workflow version carry your identity context in addition to
the execution role. Identity context is information about your user identity that Amazon Web Services
propagates with your credentials, for example when you sign in through IAM Identity Center. Specify one
of the following values:
-
EXECUTION_ROLE– If you specify this value, scheduled runs use only the execution role that you specify inRoleArn. -
ORIGIN_IDENTITY– If you specify this value, scheduled runs use the execution role that you specify inRoleArn, with your identity context attached. To use this value, the workflow definition must include a schedule. The credentials that you sign the request with must also include identity context.
If you don't specify this parameter, the new workflow version uses
EXECUTION_ROLE, and its scheduled runs no longer carry your identity context. To keep your identity context attached to scheduled runs, specifyORIGIN_IDENTITYagain. Scheduled runs of the new version then carry the identity context from your update request. -
- See Also:
-
-
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<UpdateWorkflowRequest.Builder,UpdateWorkflowRequest> - Specified by:
toBuilderin classMwaaServerlessRequest- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
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
Description copied from class:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. 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, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkRequest- Parameters:
fieldName- The name of the member to be retrieved.clazz- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-