Interface DescribedExecution.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DescribedExecution.Builder,DescribedExecution>,SdkBuilder<DescribedExecution.Builder,DescribedExecution>,SdkPojo
- Enclosing class:
- DescribedExecution
public static interface DescribedExecution.Builder extends SdkPojo, CopyableBuilder<DescribedExecution.Builder,DescribedExecution>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribedExecution.BuilderexecutionId(String executionId)A unique identifier for the execution of a workflow.DescribedExecution.BuilderexecutionRole(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.DescribedExecution.BuilderinitialFileLocation(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.DescribedExecution.BuilderloggingConfiguration(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.DescribedExecution.BuilderposixProfile(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.DescribedExecution.Builderresults(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.DescribedExecution.BuilderserviceMetadata(ServiceMetadata serviceMetadata)A container object for the session details that are associated with a workflow.DescribedExecution.Builderstatus(String status)The status is one of the execution.DescribedExecution.Builderstatus(ExecutionStatus status)The status is one of the execution.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
executionId
DescribedExecution.Builder executionId(String 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
DescribedExecution.Builder initialFileLocation(FileLocation 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:
initialFileLocation(FileLocation)
-
serviceMetadata
DescribedExecution.Builder serviceMetadata(ServiceMetadata 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:
serviceMetadata(ServiceMetadata)
-
executionRole
DescribedExecution.Builder executionRole(String 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
DescribedExecution.Builder loggingConfiguration(LoggingConfiguration 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:
loggingConfiguration(LoggingConfiguration)
-
posixProfile
DescribedExecution.Builder posixProfile(PosixProfile 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
default DescribedExecution.Builder posixProfile(Consumer<PosixProfile.Builder> 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:
posixProfile(PosixProfile)
-
status
DescribedExecution.Builder status(String 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:
ExecutionStatus,ExecutionStatus
-
status
DescribedExecution.Builder status(ExecutionStatus 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:
ExecutionStatus,ExecutionStatus
-
results
DescribedExecution.Builder results(ExecutionResults 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
default DescribedExecution.Builder results(Consumer<ExecutionResults.Builder> 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:
results(ExecutionResults)
-
-