Interface UpdateFlowResponse.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the flow.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      UpdateFlowResponse.Builder createdAt(Instant createdAt)

      The time at which the flow was created.

      Parameters:
      createdAt - The time at which the flow was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customerEncryptionKeyArn

      UpdateFlowResponse.Builder customerEncryptionKeyArn(String customerEncryptionKeyArn)

      The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.

      Parameters:
      customerEncryptionKeyArn - The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • definition

      A definition of the nodes and the connections between nodes in the flow.

      Parameters:
      definition - A definition of the nodes and the connections between nodes in the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • definition

      A definition of the nodes and the connections between nodes in the flow.

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

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

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

      UpdateFlowResponse.Builder description(String description)

      The description of the flow.

      Parameters:
      description - The description of the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionRoleArn

      UpdateFlowResponse.Builder executionRoleArn(String executionRoleArn)

      The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.

      Parameters:
      executionRoleArn - The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The unique identifier of the flow.

      Parameters:
      id - The unique identifier of the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the flow.

      Parameters:
      name - The name of the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the flow. When you submit this request, the status will be NotPrepared. If updating fails, the status becomes Failed.

      Parameters:
      status - The status of the flow. When you submit this request, the status will be NotPrepared. If updating fails, the status becomes Failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the flow. When you submit this request, the status will be NotPrepared. If updating fails, the status becomes Failed.

      Parameters:
      status - The status of the flow. When you submit this request, the status will be NotPrepared. If updating fails, the status becomes Failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updatedAt

      UpdateFlowResponse.Builder updatedAt(Instant updatedAt)

      The time at which the flow was last updated.

      Parameters:
      updatedAt - The time at which the flow was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      The version of the flow. When you update a flow, the version updated is the DRAFT version.

      Parameters:
      version - The version of the flow. When you update a flow, the version updated is the DRAFT version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.