Interface AgentSpace.Builder

  • Method Details

    • agentSpaceId

      AgentSpace.Builder agentSpaceId(String agentSpaceId)

      The unique identifier of the agent space.

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

      The name of the agent space.

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

      AgentSpace.Builder description(String description)

      A description of the agent space.

      Parameters:
      description - A description of the agent space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsResources

      AgentSpace.Builder awsResources(AWSResources awsResources)

      The AWS resources associated with the agent space.

      Parameters:
      awsResources - The AWS resources associated with the agent space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsResources

      default AgentSpace.Builder awsResources(Consumer<AWSResources.Builder> awsResources)

      The AWS resources associated with the agent space.

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

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

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

      AgentSpace.Builder targetDomainIds(Collection<String> targetDomainIds)

      The list of target domain identifiers associated with the agent space.

      Parameters:
      targetDomainIds - The list of target domain identifiers associated with the agent space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetDomainIds

      AgentSpace.Builder targetDomainIds(String... targetDomainIds)

      The list of target domain identifiers associated with the agent space.

      Parameters:
      targetDomainIds - The list of target domain identifiers associated with the agent space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeReviewSettings

      AgentSpace.Builder codeReviewSettings(CodeReviewSettings codeReviewSettings)

      The code review settings for the agent space.

      Parameters:
      codeReviewSettings - The code review settings for the agent space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeReviewSettings

      default AgentSpace.Builder codeReviewSettings(Consumer<CodeReviewSettings.Builder> codeReviewSettings)

      The code review settings for the agent space.

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

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

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

      AgentSpace.Builder kmsKeyId(String kmsKeyId)

      The identifier of the AWS KMS key used to encrypt data in the agent space.

      Parameters:
      kmsKeyId - The identifier of the AWS KMS key used to encrypt data in the agent space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      AgentSpace.Builder createdAt(Instant createdAt)

      The date and time the agent space was created, in UTC format.

      Parameters:
      createdAt - The date and time the agent space was created, in UTC format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      AgentSpace.Builder updatedAt(Instant updatedAt)

      The date and time the agent space was last updated, in UTC format.

      Parameters:
      updatedAt - The date and time the agent space was last updated, in UTC format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.