Interface TargetResource.Builder

  • Method Details

    • targetIdentifier

      TargetResource.Builder targetIdentifier(TargetIdentifier targetIdentifier)

      A target identifier is a pair of identifying information for a scope. A target identifier is made up of a targetID (currently always an account ID) and a targetType (currently always an account).

      Parameters:
      targetIdentifier - A target identifier is a pair of identifying information for a scope. A target identifier is made up of a targetID (currently always an account ID) and a targetType (currently always an account).
      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 scope. A target identifier is made up of a targetID (currently always an account ID) and a targetType (currently always an account).

      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 for the scope.

      Parameters:
      region - The Amazon Web Services Region for the scope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.