Interface TargetIdentifier.Builder

  • Method Details

    • targetId

      TargetIdentifier.Builder targetId(TargetId targetId)

      The identifier for a target, which is currently always an account ID .

      Parameters:
      targetId - The identifier for a target, which is currently always an account ID .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetId

      default TargetIdentifier.Builder targetId(Consumer<TargetId.Builder> targetId)

      The identifier for a target, which is currently always an account ID .

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

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

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

      TargetIdentifier.Builder targetType(String targetType)

      The type of a target. A target type is currently always ACCOUNT.

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

      TargetIdentifier.Builder targetType(TargetType targetType)

      The type of a target. A target type is currently always ACCOUNT.

      Parameters:
      targetType - The type of a target. A target type is currently always ACCOUNT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: