public ListActionsRequest withTargetResourceId(String targetResourceId) {
        setTargetResourceId(targetResourceId);
        return this;
    }
<p>
The ID of the target resource.
</p>

@param targetResourceId
       The ID of the target resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/ListActionsRequest.java