Interface DescribedExecution.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DescribedExecution.Builder,,DescribedExecution> SdkBuilder<DescribedExecution.Builder,,DescribedExecution> SdkPojo
- Enclosing class:
DescribedExecution
-
Method Summary
Modifier and TypeMethodDescriptionexecutionId(String executionId) A unique identifier for the execution of a workflow.executionRole(String executionRole) The IAM role associated with the execution.default DescribedExecution.BuilderinitialFileLocation(Consumer<FileLocation.Builder> initialFileLocation) A structure that describes the Amazon S3 or EFS file location.initialFileLocation(FileLocation initialFileLocation) A structure that describes the Amazon S3 or EFS file location.default DescribedExecution.BuilderloggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) The IAM logging role associated with the execution.loggingConfiguration(LoggingConfiguration loggingConfiguration) The IAM logging role associated with the execution.default DescribedExecution.BuilderposixProfile(Consumer<PosixProfile.Builder> posixProfile) Sets the value of the PosixProfile property for this object.posixProfile(PosixProfile posixProfile) Sets the value of the PosixProfile property for this object.default DescribedExecution.Builderresults(Consumer<ExecutionResults.Builder> results) A structure that describes the execution results.results(ExecutionResults results) A structure that describes the execution results.default DescribedExecution.BuilderserviceMetadata(Consumer<ServiceMetadata.Builder> serviceMetadata) A container object for the session details that are associated with a workflow.serviceMetadata(ServiceMetadata serviceMetadata) A container object for the session details that are associated with a workflow.The status is one of the execution.status(ExecutionStatus status) The status is one of the execution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
executionId
A unique identifier for the execution of a workflow.
- Parameters:
executionId- A unique identifier for the execution of a workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialFileLocation
A structure that describes the Amazon S3 or EFS file location. This is the file location when the execution begins: if the file is being copied, this is the initial (as opposed to destination) file location.
- Parameters:
initialFileLocation- A structure that describes the Amazon S3 or EFS file location. This is the file location when the execution begins: if the file is being copied, this is the initial (as opposed to destination) file location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialFileLocation
default DescribedExecution.Builder initialFileLocation(Consumer<FileLocation.Builder> initialFileLocation) A structure that describes the Amazon S3 or EFS file location. This is the file location when the execution begins: if the file is being copied, this is the initial (as opposed to destination) file location.
This is a convenience method that creates an instance of theFileLocation.Builderavoiding the need to create one manually viaFileLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinitialFileLocation(FileLocation).- Parameters:
initialFileLocation- a consumer that will call methods onFileLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceMetadata
A container object for the session details that are associated with a workflow.
- Parameters:
serviceMetadata- A container object for the session details that are associated with a workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceMetadata
default DescribedExecution.Builder serviceMetadata(Consumer<ServiceMetadata.Builder> serviceMetadata) A container object for the session details that are associated with a workflow.
This is a convenience method that creates an instance of theServiceMetadata.Builderavoiding the need to create one manually viaServiceMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceMetadata(ServiceMetadata).- Parameters:
serviceMetadata- a consumer that will call methods onServiceMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionRole
The IAM role associated with the execution.
- Parameters:
executionRole- The IAM role associated with the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
The IAM logging role associated with the execution.
- Parameters:
loggingConfiguration- The IAM logging role associated with the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
default DescribedExecution.Builder loggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) The IAM logging role associated with the execution.
This is a convenience method that creates an instance of theLoggingConfiguration.Builderavoiding the need to create one manually viaLoggingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologgingConfiguration(LoggingConfiguration).- Parameters:
loggingConfiguration- a consumer that will call methods onLoggingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
posixProfile
Sets the value of the PosixProfile property for this object.- Parameters:
posixProfile- The new value for the PosixProfile property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
posixProfile
Sets the value of the PosixProfile property for this object. This is a convenience method that creates an instance of thePosixProfile.Builderavoiding the need to create one manually viaPosixProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toposixProfile(PosixProfile).- Parameters:
posixProfile- a consumer that will call methods onPosixProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status is one of the execution. Can be in progress, completed, exception encountered, or handling the exception.
- Parameters:
status- The status is one of the execution. Can be in progress, completed, exception encountered, or handling the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status is one of the execution. Can be in progress, completed, exception encountered, or handling the exception.
- Parameters:
status- The status is one of the execution. Can be in progress, completed, exception encountered, or handling the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
results
A structure that describes the execution results. This includes a list of the steps along with the details of each step, error type and message (if any), and the
OnExceptionStepsstructure.- Parameters:
results- A structure that describes the execution results. This includes a list of the steps along with the details of each step, error type and message (if any), and theOnExceptionStepsstructure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
A structure that describes the execution results. This includes a list of the steps along with the details of each step, error type and message (if any), and the
This is a convenience method that creates an instance of theOnExceptionStepsstructure.ExecutionResults.Builderavoiding the need to create one manually viaExecutionResults.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresults(ExecutionResults).- Parameters:
results- a consumer that will call methods onExecutionResults.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-