Interface TargetResource.Builder

  • Method Details

    • targetIdentifier

      TargetResource.Builder targetIdentifier(TargetIdentifier targetIdentifier)

      A target identifier is a pair of identifying information for a resource that is included in a target. A target identifier includes the target ID and the target type.

      Parameters:
      targetIdentifier - A target identifier is a pair of identifying information for a resource that is included in a target. A target identifier includes the target ID and the target type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetIdentifier

      default TargetResource.Builder targetIdentifier(Consumer<TargetIdentifier.Builder> targetIdentifier)

      A target identifier is a pair of identifying information for a resource that is included in a target. A target identifier includes the target ID and the target type.

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

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

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

      The Amazon Web Services Region where the target resource is located.

      Parameters:
      region - The Amazon Web Services Region where the target resource is located.
      Returns:
      Returns a reference to this object so that method calls can be chained together.