Interface TargetSummary.Builder

  • Method Details

    • targetId

      TargetSummary.Builder targetId(String targetId)

      The unique identifier of the target.

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

      The name of the target.

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

      TargetSummary.Builder status(String status)

      The current status of the target.

      Parameters:
      status - The current status of the target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the target.

      Parameters:
      status - The current status of the target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      TargetSummary.Builder description(String description)

      The description of the target.

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

      TargetSummary.Builder createdAt(Instant createdAt)

      The timestamp when the target was created.

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

      TargetSummary.Builder updatedAt(Instant updatedAt)

      The timestamp when the target was last updated.

      Parameters:
      updatedAt - The timestamp when the target was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourcePriority

      TargetSummary.Builder resourcePriority(Integer resourcePriority)

      Priority for resolving resource URI conflicts across targets. Lower values take precedence. Defaults to 1000 when not set.

      Parameters:
      resourcePriority - Priority for resolving resource URI conflicts across targets. Lower values take precedence. Defaults to 1000 when not set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastSynchronizedAt

      TargetSummary.Builder lastSynchronizedAt(Instant lastSynchronizedAt)

      The timestamp when the target was last synchronized.

      Parameters:
      lastSynchronizedAt - The timestamp when the target was last synchronized.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizationData

      TargetSummary.Builder authorizationData(AuthorizationData authorizationData)
      Sets the value of the AuthorizationData property for this object.
      Parameters:
      authorizationData - The new value for the AuthorizationData property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizationData

      default TargetSummary.Builder authorizationData(Consumer<AuthorizationData.Builder> authorizationData)
      Sets the value of the AuthorizationData property for this object. This is a convenience method that creates an instance of the AuthorizationData.Builder avoiding the need to create one manually via AuthorizationData.builder().

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

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

      TargetSummary.Builder targetType(String targetType)

      The type of the target.

      Parameters:
      targetType - The type of the target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetType

      TargetSummary.Builder targetType(TargetType targetType)

      The type of the target.

      Parameters:
      targetType - The type of the target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • listingMode

      TargetSummary.Builder listingMode(String listingMode)

      The listing mode for the target. MCP resources for DEFAULT targets are cached at the control plane for faster access. MCP resources for DYNAMIC targets are retrieved dynamically when listing tools.

      Parameters:
      listingMode - The listing mode for the target. MCP resources for DEFAULT targets are cached at the control plane for faster access. MCP resources for DYNAMIC targets are retrieved dynamically when listing tools.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • listingMode

      TargetSummary.Builder listingMode(ListingMode listingMode)

      The listing mode for the target. MCP resources for DEFAULT targets are cached at the control plane for faster access. MCP resources for DYNAMIC targets are retrieved dynamically when listing tools.

      Parameters:
      listingMode - The listing mode for the target. MCP resources for DEFAULT targets are cached at the control plane for faster access. MCP resources for DYNAMIC targets are retrieved dynamically when listing tools.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: