Interface AgentSpace.Builder

  • Method Details

    • agentSpaceId

      AgentSpace.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.
    • name

      Name of the agent space

      Parameters:
      name - 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)

      Description of the agent space

      Parameters:
      description - 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)

      AWS resource configurations

      Parameters:
      awsResources - AWS resource configurations
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsResources

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

      AWS resource configurations

      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)

      List of target domain IDs registered with the agent space

      Parameters:
      targetDomainIds - List of target domain IDs registered 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)

      List of target domain IDs registered with the agent space

      Parameters:
      targetDomainIds - List of target domain IDs registered 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)

      Configuration for code review analysis, including controls scanning and general purpose scanning settings

      Parameters:
      codeReviewSettings - Configuration for code review analysis, including controls scanning and general purpose scanning settings
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeReviewSettings

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

      Configuration for code review analysis, including controls scanning and general purpose scanning settings

      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)

      Identifier of the KMS key used to encrypt data. Can be a key ID, key ARN, alias name, or alias ARN. If not specified, an AWS managed key is used.

      Parameters:
      kmsKeyId - Identifier of the KMS key used to encrypt data. Can be a key ID, key ARN, alias name, or alias ARN. If not specified, an AWS managed key is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      AgentSpace.Builder createdAt(Instant createdAt)

      Timestamp when the agent space was created

      Parameters:
      createdAt - Timestamp when the agent space was created
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      AgentSpace.Builder updatedAt(Instant updatedAt)

      Timestamp when the agent space was last updated

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