Interface WorkflowVersionSummary.Builder

  • Method Details

    • workflowVersion

      WorkflowVersionSummary.Builder workflowVersion(String workflowVersion)

      The version identifier of the workflow version.

      Parameters:
      workflowVersion - The version identifier of the workflow version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowArn

      WorkflowVersionSummary.Builder workflowArn(String workflowArn)

      The Amazon Resource Name (ARN) of the workflow that contains this version.

      Parameters:
      workflowArn - The Amazon Resource Name (ARN) of the workflow that contains this version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isLatestVersion

      WorkflowVersionSummary.Builder isLatestVersion(Boolean isLatestVersion)

      Boolean flag that indicates whether this is the latest version of the workflow.

      Parameters:
      isLatestVersion - Boolean flag that indicates whether this is the latest version of the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The timestamp when the workflow version was created, in ISO 8601 date-time format.

      Parameters:
      createdAt - The timestamp when the workflow version was created, in ISO 8601 date-time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modifiedAt

      WorkflowVersionSummary.Builder modifiedAt(Instant modifiedAt)

      The timestamp when the workflow version was last modified, in ISO 8601 date-time format.

      Parameters:
      modifiedAt - The timestamp when the workflow version was last modified, in ISO 8601 date-time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • definitionS3Location

      WorkflowVersionSummary.Builder definitionS3Location(DefinitionS3Location definitionS3Location)

      The Amazon S3 location of the workflow definition file for this version.

      Parameters:
      definitionS3Location - The Amazon S3 location of the workflow definition file for this version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • definitionS3Location

      default WorkflowVersionSummary.Builder definitionS3Location(Consumer<DefinitionS3Location.Builder> definitionS3Location)

      The Amazon S3 location of the workflow definition file for this version.

      This is a convenience method that creates an instance of the DefinitionS3Location.Builder avoiding the need to create one manually via DefinitionS3Location.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to definitionS3Location(DefinitionS3Location).

      Parameters:
      definitionS3Location - a consumer that will call methods on DefinitionS3Location.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scheduleConfiguration

      WorkflowVersionSummary.Builder scheduleConfiguration(ScheduleConfiguration scheduleConfiguration)

      The schedule configuration for this workflow version.

      Parameters:
      scheduleConfiguration - The schedule configuration for this workflow version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduleConfiguration

      default WorkflowVersionSummary.Builder scheduleConfiguration(Consumer<ScheduleConfiguration.Builder> scheduleConfiguration)

      The schedule configuration for this workflow version.

      This is a convenience method that creates an instance of the ScheduleConfiguration.Builder avoiding the need to create one manually via ScheduleConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scheduleConfiguration(ScheduleConfiguration).

      Parameters:
      scheduleConfiguration - a consumer that will call methods on ScheduleConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • triggerMode

      WorkflowVersionSummary.Builder triggerMode(String triggerMode)

      The trigger mode for the workflow execution.

      Parameters:
      triggerMode - The trigger mode for the workflow execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.