Interface AddArtifactRequest.Builder

  • Method Details

    • agentSpaceId

      AddArtifactRequest.Builder agentSpaceId(String agentSpaceId)

      The unique identifier of the agent space to add the artifact to.

      Parameters:
      agentSpaceId - The unique identifier of the agent space to add the artifact to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • artifactContent

      AddArtifactRequest.Builder artifactContent(SdkBytes artifactContent)

      The binary content of the artifact to upload.

      Parameters:
      artifactContent - The binary content of the artifact to upload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • artifactType

      AddArtifactRequest.Builder artifactType(String artifactType)

      The file type of the artifact. Valid values include TXT, PNG, JPEG, MD, PDF, DOCX, DOC, JSON, and YAML.

      Parameters:
      artifactType - The file type of the artifact. Valid values include TXT, PNG, JPEG, MD, PDF, DOCX, DOC, JSON, and YAML.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • artifactType

      AddArtifactRequest.Builder artifactType(ArtifactType artifactType)

      The file type of the artifact. Valid values include TXT, PNG, JPEG, MD, PDF, DOCX, DOC, JSON, and YAML.

      Parameters:
      artifactType - The file type of the artifact. Valid values include TXT, PNG, JPEG, MD, PDF, DOCX, DOC, JSON, and YAML.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fileName

      AddArtifactRequest.Builder fileName(String fileName)

      The file name of the artifact.

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

      AddArtifactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.