public Operation withTargets(java.util.Map<String, String> targets) {
        setTargets(targets);
        return this;
    }
<p>
The name of the target entity that's associated with the operation:
</p>
<dl>
<dt>NAMESPACE</dt>
<dd>
<p>
The namespace ID is returned in the <code>ResourceId</code> property.
</p>
</dd>
<dt>SERVICE</dt>
<dd>
<p>
The service ID is returned in the <code>ResourceId</code> property.
</p>
</dd>
<dt>INSTANCE</dt>
<dd>
<p>
The instance ID is returned in the <code>ResourceId</code> property.
</p>
</dd>
</dl>

@param targets
       The name of the target entity that's associated with the operation:</p>
       <dl>
       <dt>NAMESPACE</dt>
       <dd>
       <p>
       The namespace ID is returned in the <code>ResourceId</code> property.
       </p>
       </dd>
       <dt>SERVICE</dt>
       <dd>
       <p>
       The service ID is returned in the <code>ResourceId</code> property.
       </p>
       </dd>
       <dt>INSTANCE</dt>
       <dd>
       <p>
       The instance ID is returned in the <code>ResourceId</code> property.
       </p>
       </dd>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-servicediscovery/src/main/java/com/amazonaws/services/servicediscovery/model/Operation.java