Interface GetArtifactResponse.Builder

  • Method Details

    • agentSpaceId

      GetArtifactResponse.Builder agentSpaceId(String agentSpaceId)

      Unique identifier of the agent space

      Parameters:
      agentSpaceId - Unique identifier of the agent space
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • artifactId

      GetArtifactResponse.Builder artifactId(String artifactId)

      Unique identifier of the artifact

      Parameters:
      artifactId - Unique identifier of the artifact
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • artifact

      Artifact details

      Parameters:
      artifact - Artifact details
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • artifact

      Artifact details

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

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

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

      GetArtifactResponse.Builder fileName(String fileName)

      Name of the artifact file

      Parameters:
      fileName - Name of the artifact file
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      GetArtifactResponse.Builder updatedAt(Instant updatedAt)

      Timestamp when the artifact was last updated

      Parameters:
      updatedAt - Timestamp when the artifact was last updated
      Returns:
      Returns a reference to this object so that method calls can be chained together.