Interface TargetIdentifier.Builder

  • Method Details

    • targetId

      TargetIdentifier.Builder targetId(TargetId targetId)

      The identifier for a target.

      Parameters:
      targetId - The identifier for a target.
      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.

      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 because a target is currently a single Amazon Web Services account.

      Parameters:
      targetType - The type of a target. A target type is currently always ACCOUNT because a target is currently a single Amazon Web Services 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 because a target is currently a single Amazon Web Services account.

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